/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Admin & Student Containers */
.admin-container, .student-container, .admin-login-container {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 400px;
}

h2 {
    color: #333;
    font-size: 24px;
}

/* Inputs & Buttons */
input, textarea {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

textarea {
    height: 100px;
    resize: none;
}

button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    transition: 0.3s;
}

button:hover {
    background-color: #0056b3;
}

/* Logout Button */
#logout {
    background-color: #ff4d4d;
    margin-bottom: 15px;
}

#logout:hover {
    background-color: #cc0000;
}

/* Result Display */
#resultDisplay {
    background: #eef;
    padding: 15px;
    margin-top: 10px;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

#resultDisplay h3 {
    margin-bottom: 10px;
    color: #007BFF;
}

#gpaList {
    list-style: none;
    padding: 0;
}

#gpaList li {
    background: #dff0ff;
    margin: 5px 0;
    padding: 8px;
    border-radius: 5px;
}

/* Referred Subjects */
#referredSubjects {
    color: red;
    font-weight: bold;
}

/* Error Messages */
#errorMessage, #loginMessage {
    color: red;
    font-size: 14px;
}

/* Hide Elements */
.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 480px) {
    body {
        align-items: flex-start;
        padding-top: 20px;
    }

    .admin-container, .student-container, .admin-login-container {
        width: 95%;
    }
}
