/* General Reset and Font Import */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

body {
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Form Container */
.container {
    width: 100%;
    max-width: 900px;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Header and Title Styling */
.container h3 {
    text-align: center;
    font-size: 22px;
    color: #909290;
    margin-bottom: 20px;
}

.school-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
    margin: 10px auto;
}

/* Form Inputs Styling */
.input-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.input-field {
    width: 48%;
}

.input-field label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.input-field input,
.input-field select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    margin-bottom: 12px;
    transition: border-color 0.3s ease;
}

.input-field input:focus,
.input-field select:focus {
    border-color: #909290;
    outline: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Button Styling */
button.primary-btn {
    display: inline-flex;
    align-items: center;
    /* Aligns icon and text */
    padding: 10px 20px;
    /* Increased padding for a more prominent button */
    background-color: #909290;
    color: white;
    border: none;
    border-radius: 6px;
    /* Slightly more rounded corners */
    margin-top: 10px;
    /* Adjusted margin */
    margin-bottom: 10px;
    /* Adjusted margin */
    font-size: 16px;
    /* Font size for button text */
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    /* Transition for hover effect */
}

button.primary-btn i {
    margin-right: 8px;
    /* Space between the icon and text */
    font-size: 18px;
    /* Icon size */
}

button.primary-btn:hover {
    background-color: #787c78;
    /* Darker shade for hover effect */
    transform: translateY(-2px);
    /* Slight lift effect on hover */
}

button.primary-btn:active {
    transform: translateY(0);
    /* Button returns to its original position when clicked */
}

button:hover {
    background-color: #787c78;
    /* Darker shade for hover effect */
}

button.backBtn {
    display: inline-flex;
    align-items: center;
    /* Aligns icon and text */
    padding: 10px 20px;
    /* Increased padding for a more prominent button */
    background-color: #909290;
    color: white;
    border: none;
    border-radius: 6px;
    /* Slightly more rounded corners */
    margin-top: 10px;
    /* Adjusted margin */
    margin-bottom: 10px;
    /* Adjusted margin */
    font-size: 16px;
    /* Font size for button text */
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    /* Transition for hover effect */
}

button.backBtn i {
    margin-right: 8px;
    /* Space between the icon and text */
    font-size: 18px;
    /* Icon size */
}

button.backBtn:hover {
    background-color: #787c78;
    /* Darker shade for hover effect */
    transform: translateY(-2px);
    /* Slight lift effect on hover */
}

button.backBtn:active {
    transform: translateY(0);
    /* Button returns to its original position when clicked */
}

button.backBtn a {
    text-decoration: none;
    color: white;
    display: inline-flex;
    align-items: center;
}

button.backBtn a:hover {
    color: white;
    /* Ensures the text color stays white when hovered */
}


/* Responsive Design */
@media (max-width: 768px) {
    .input-container {
        flex-direction: column;
    }

    .input-field {
        width: 100%;
        margin-bottom: 10px;
    }

    .primary-btn {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .container {
        padding: 20px;
    }

    .school-logo {
        width: 80px;
        height: 80px;
    }

    .primary-btn {
        font-size: 14px;
    }

    /* Table Container */
    

}