* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    /* padding: 2rem; */
}

.container {
    width: 100%;
    max-width: 800px;
}

.verification-section .container {
    
    max-width: 24rem;
    
}

.new-session-button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #012772;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.new-session-button:hover {
    background-color: #012772;
}


.card1 {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    box-shadow: 
        0 10px 15px -3px rgba(1, 39, 114, 0.1),
        0 4px 6px -2px rgba(1, 39, 114, 0.05),
        0 0 0 1px rgba(1, 39, 114, 0.05);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 24rem;
    margin: 0 auto;
}

/* .card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 25px -5px rgba(1, 39, 114, 0.1),
        0 10px 10px -5px rgba(1, 39, 114, 0.04),
        0 0 0 1px rgba(1, 39, 114, 0.05);
} */

.header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    width: 5rem;
    height: 5rem;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 4px 6px rgba(1, 39, 114, 0.1));
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

h1, h2 {
    color: #012772;
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    text-shadow: 0 1px 2px rgba(1, 39, 114, 0.05);
    text-align: center;
}

.header p {
    color: #6b7280;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 1.75rem;
    position: relative;
}

label {
    display: block;
    font-size: 0.925rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.625rem;
}

input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    color: #374151;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.2s ease;
}

input:hover {
    border-color: #d1d5db;
}

input:focus {
    outline: none;
    border-color: #012772;
    box-shadow: 0 0 0 4px rgba(1, 39, 114, 0.1);
    background: white;
}

input.error {
    border-color: #dc2626;
}

input.error:focus {
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.error-message {
    display: none;
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    animation: fadeIn 0.2s ease;
}

.btn-primary {
    width: 100%;
    background-color: #012772;
    color: white;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-color: #023392;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(1, 39, 114, 0.1),
                0 2px 4px -1px rgba(1, 39, 114, 0.06);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    width: 100%;
    background: none;
    border: none;
    color: #012772;
    font-weight: 600;
    margin-top: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0.5rem;
    font-size: 0.95rem;
}

.btn-secondary:hover {
    color: #023392;
    background: rgba(1, 39, 114, 0.05);
    border-radius: 0.375rem;
}

.phone-hint {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    /* background: rgba(1, 39, 114, 0.05); */
    border-radius: 0.375rem;
    text-align: center;
}

.otp-hint {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.75rem;
    padding: 0.5rem;
    /* background: rgba(1, 39, 114, 0.05); */   
    border-radius: 0.375rem;    
    text-align: center;
}

.count_down{
    font-size: 0.875rem;
    color: #6b7280;
    padding: 0.5rem;
    /* background: rgba(1, 39, 114, 0.05); */
    border-radius: 0.375rem;
    text-align: center;
}

.hidden {
    display: none;
}

.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Fee Section Styles */
.fee-section {
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
    /* padding: 20px; */
    border-radius: 8px;
}

.fee-list {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: 2rem;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.fee-item:last-child {
    border-bottom: none;
}

.fee-info {
    flex-grow: 1;
}

.fee-name {
    color: #012772;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.fee-amount {
    color: #374151;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.fee-due-date {
    color: #6b7280;
    font-size: 0.9rem;
}

.fee-paid-date {
    color: #6b7280;
    font-size: 0.9rem;
}

.fee-mode {
    color: #000000b0;
    font-size: 1.0rem;
    font-weight: 500;
}

.pay-button {
    background-color: #012772;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pay-button:hover {
    background-color: #023392;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(1, 39, 114, 0.1);
}

.pay-button:disabled {
    background-color: #4caf50;
    cursor: default;
    transform: none;
    box-shadow: none;
}

.paid {
    background-color: #f0fdf4;
}

.no-fee-message {
    text-align: center;
    font-size: 18px;
    color: #012772; /* Font color */
    margin: 20px 0;
    padding: 10px;
    border: 1px solid #012772;
    border-radius: 5px;
    background-color: #f0f4ff; /* Light background for contrast */
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fee-header {
    text-align: center;
    margin-bottom: 20px;
}

.fee-header .logo img {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

.fee-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.fee-header p {
    color: #6b7280;
    font-size: 1.2rem;
}

.section-divider {
    margin: 20px 0;
    border: none;
    border-top: 2px solid #f4f4f4;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}


/* .student-info {
    display: flex;
    flex-direction: row;  
    gap: 20px;            
    align-items: center;  
    /* padding-bottom:0.8rem; */
    /* color:#000000bd */
/* } */

.student-info p {
    margin: 0; 
    font-size: 15px;
}

.student-info strong {
    font-weight: bold;
}

#sessionExpiryNote {
    /* position: fixed; */
    /* top: 50px; */
    /* right: 20px; */
    background-color: #ffcc00;
    color: #333;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease-in-out;
}

#sessionExpiryNote.hidden {
    opacity: 0;
    visibility: hidden;
}
/* #navbar {
    position: fixed;
    top: 80px;
    right: 20px;            
}*/

#navbar.hidden {
    opacity: 0;
    visibility: hidden;
} 

.transaction-history {
    margin: 20px;
}

.transaction-history h2 {
    text-align: center;
    color: #333;
}

.transaction-history table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.transaction-history th,
.transaction-history td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.transaction-history th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.transaction-history tr:nth-child(even) {
    background-color: #f9f9f9;
}
#break {
    margin-top: 30px; 
    height: 80px;
}

@media (max-width: 768px) { /* Adjust the max-width as per your requirements for mobile view */
    #break {
        display: none;
    }
}
/* @media only screen and (max-width: 768px) {
    #sessionExpiryNote {
        position: fixed;
        top: 10px;
        left: 0.05px;
        background-color: #ffcc00;
        color: #333;
        padding: 10px 20px;
        font-size: 14px;
        font-weight: bold;
        border-radius: 5px;
        z-index: 1000;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        transition: opacity 0.3s ease-in-out;
    }
    
    #sessionExpiryNote.hidden {
        opacity: 0;
        visibility: hidden;
    }
    #navbar {
        position: fixed;
        top: 0.01px;
        right: 20px;            
    }
    
    #navbar.hidden {
        opacity: 0;
        visibility: hidden;
    }
} */
