/* 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 {
    display: inline-block;
    padding: 4px 8px; /* Reduced padding for smaller buttons */
    background-color: #909290;
    color: white;
    border: none;
    border-radius: 4px;
    margin-top: 5px; /* Adjusted margin */
    margin-bottom: 5px; /* Adjusted margin */
    text-decoration: none;
    font-size: 14px; /* Slightly smaller font size */
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

button:hover {
    background-color: #7a7a7a; /* Darker shade on hover */
}

button a {
    color: white;
    text-decoration: none; /* Ensures the link is styled properly */
}

button i {
    margin-left: 5px; /* Adds space between the text and the icon */
}

/* 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;
    }
}
