/* BODY DESIGN */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to bottom, #00218b, #fffc58);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* FORM DESIGN */
form {
    background: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    width: 320px;
    text-align: center;
}

/* SCHOOL LOGO */
.logo {
    width: 90px;
    height: auto;
    margin-bottom: 10px;
}

/* FORM HEADINGS */
h2 {
    font-size: 20px;
    color: #333;
}

/* INPUT FIELDS */
input[type="text"] {
    width: 80%;
    padding: 10px;
    margin: 8px 0;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
}

/* SUBMIT BUTTON */
input[type="submit"] {
    width: 85%;
    padding: 10px;
    background-color: #008000; /* Green */
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    font-weight: bold;
}

input[type="submit"]:hover {
    background-color: #006400; /* Darker Green */
}


/* Hover effect */
form:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

/* FORM HEADING */
h1 {
    text-align: center;
    color: #333;
    font-size: 26px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* LABELS */
label {
    display: block;
    margin-top: 12px;
    font-weight: 600;
    color: #444;
    font-size: 14px;
}

/* INPUT FIELDS */
input {
    width: 94%;
    padding: 10px;
    margin-top: 5px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease-in-out;
}

/* Input focus effect */
input:focus {
    border-color: #87CEEB;
    outline: none;
    box-shadow: 0px 0px 8px rgba(135, 206, 235, 0.8);
}

/* READONLY INPUT */
form input[readonly] {
    background: #f2f2f2;
    cursor: not-allowed;
}

/* SUBMIT BUTTON */
input[type="submit"] {
    background: linear-gradient(to right, #FFD700, #FFA500);
    color: white;
    font-weight: bold;
    cursor: pointer;
    border: none;
    margin-top: 15px;
    padding: 12px;
    font-size: 16px;
    text-transform: uppercase;
    transition: 0.3s ease-in-out;
    border-radius: 8px;
}

/* Submit button hover effect */
input[type="submit"]:hover {
    background: linear-gradient(to right, #FFA500, #FF8C00);
    box-shadow: 0px 5px 10px rgba(255, 140, 0, 0.5);
}

/* ADD ANIMATION TO FORM */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply animation */
form {
    animation: fadeIn 0.6s ease-in-out;
}

/* RESPONSIVENESS */
@media screen and (max-width: 450px) {
    form {
        width: 90%;
        padding: 20px;
    }
}
