* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}
body{
    min-height: 100vh;
    min-width: 100vw;
    margin: 0;
    padding: 0;
    margin: 0;
    font-family: 'Fira Code', monospace;
    background-color: #f5f5f5;
}


/* Header Styles */
.headerStyle {
    background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.header-title {
    font-size: 1.5rem;
    font-weight: bold;
}
.container {
    max-width: 480px;
    margin: auto;
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

        h2 {
            text-align: center;
            color: #0d6efd;
        }

        label {
            display: block;
            margin-top: 15px;
            font-weight: 600;
        }

        input,
        select {
            width: 100%;
            padding: 10px;
            margin-top: 6px;
            border: 1px solid #ccc;
            border-radius: 6px;
            font-size: 16px;
        }

        .btn-group {
            display: flex;
            justify-content: space-between;
            margin-top: 20px;
            flex-wrap: wrap;
            gap: 10px;
        }

        button {
            flex: 1;
            padding: 10px;
            font-size: 16px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
        }

        .calculate-btn {
            background-color: #28a745;
            color: white;
        }

        .clear-btn {
            background-color: #dc3545;
            color: white;
        }

        .print-btn {
            background-color: #0d6efd;
            color: white;
        }

        .result {
            margin-top: 20px;
            padding: 10px;
            background-color: #e9f7ef;
            border-left: 5px solid #28a745;
            border-radius: 6px;
            text-align: center;


        }

        .result p {
            margin: 6px 0;
            font-weight: 500;
            margin-top: 20px;
            margin-right: 20px;
        }

        @media print {

            @page {
                size: letter;
                margin: 0.5in;
            }

            header {
                display: none;
            }

            body {
                background-color: white;
                padding: 0;
                margin: 0;
            }

            .container {
                box-shadow: none;
                border: none;
                max-width: 100%;
                padding: 0;
            }

            h2,
            label,
            input,
            select,
            .btn-group {
                display: none;
            }

            .result {
                border: none;
                background: white;
                color: black;
                font-size: 16px;
                margin-top: 50px;
            }

            .result table {
                width: 100%;
                border-collapse: collapse;
                text-align: center;
            }

            .result table,
            .result th,
            .result td {
                border: 1px solid black;
            }

            .result th,
            .result td {
                padding: 10px;
            }

            .print-header {
                display: block;
                text-align: left;
                font-size: 22px;
                font-weight: bold;
                margin-top: 30px;
                margin-bottom: 10px;
            }

            .print-line {
                width: 100%;
                border-bottom: 2px solid black;
                margin: 5px 0 15px 0;
            }

            .print-datetime {
                text-align: right;
                font-size: 14px;
                margin-top: 0px;
            }
        }