﻿﻿body {
    background-color: #f2f2f2;
    margin: 0;
    padding: 0;
    min-height: 100vh; /* Ensures full height */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Login form container */
.login-container {
    width: 400px;
    max-width: 90%; /* Responsive for smaller screens */
    padding: 20px;
    background-color: #F7F9F9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: absolute; /* Keeps it centered */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centers it in all resolutions */
}

.header {
    background: linear-gradient(to right, #36d1dc, #5b86e5);
    color: white;
    padding: 5px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.logo {
    height: 60px;
    margin-right: 10px;
}

.university-name {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

    .university-name:hover {
        color: #ede577;
        transform: scale(0.9);
    }
/* Footer Styling */
.footers {
    background-color: #333;
    padding: 2px 5px; /* Reduced vertical and horizontal padding */
    text-align: center;
    font-size: 12px; /* Reduced font size */
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
    line-height: 1.2; /* Tighter line spacing */
}

    .footers .creat {
        font-size: 12px;
        color: #cad8d4;
        margin: 0; /* Remove any extra margin */
    }
/* For smaller screens */
@media only screen and (max-width: 768px) {
    .login-container {
        width: 80%;
        padding: 15px;
    }
}

/* For very small screens like mobile phones */
@media only screen and (max-width: 480px) {
    .login-container {
        width: 90%;
        padding: 10px;
    }
}

.login-container h2 {
    margin-bottom: 20px;
    margin-top: 10px;
    font-size: 24px;
    color: black;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

label {
    display: block;
    font-size: 13px;
    font-weight: bold;
    color: #124E66;
    margin-bottom: 5px;
}

.input-field {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

    .input-field:focus {
        border-color: #004080;
        outline: none;
    }

.login-button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    color: white;
    background: linear-gradient(to right, #36d1dc, #5b86e5);
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

    .login-button:hover {
        background-color: #A4D7E1;
        color: black;
    }

.password-wrapper .icon {
    position: absolute;
    right: 10px;
    cursor: pointer;
    width: 25px;
    height: 25px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

    .input-wrapper .icon {
        position: absolute;
        right: 10px;
        cursor: pointer;
        width: 25px;
        height: 25px;
    }

.forgot-password-link {
    display: block;
    margin-top: 10px;
    text-align: center;
    color: #007BFF;
    text-decoration: none;
    font-size: 14px;
}

    .forgot-password-link:hover {
        text-decoration: underline;
        color: #0056b3;
    }