
body {
    background-color: #f9f6f1;
    font-family: Poppins, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden; 
    animation: fadeInPage .5s ease-in-out;  
}


.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: -2; 
}


.gradient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(200deg, rgba(64, 0, 0, 0.5), rgba(200, 200, 200, 0.2));
    z-index: -1; 
}


.login-container {
    max-width: 500px;
    padding: 62px 32px 10px 32px;
    background: rgba(255, 255, 255, 0.2); 
    backdrop-filter: blur(15px); 
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    z-index: 1; 
    animation: slideInFromRight .7s ease-out forwards;
    opacity: 0; 
}

.session-status {
    margin-bottom: 20px;
    color: #5c0000;
    font-weight: 600;
}

.logo-container {
    padding: 0 150px 0 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.login-title {
    font-size: 28px;
    font-weight: 700;
    color: #800000;
    margin-bottom: 34px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
    position: relative;
}

.form-label {
    font-size: 14px;
    color: #800000;
    display: block;
    font-weight: 400;
}

.form-input {
    width: 100%;
    padding: 10px 25px;
    border: 1px solid #ddd;
    border-radius: 50px;
    background-color: #fefefe;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-size: 12px;
    margin-top: 5px;
}

.form-input:focus {
    border-color: #800000;
    outline: none;
    box-shadow: 0 4px 8px rgba(128, 0, 0, 0.2);
}

.form-input:hover {
    outline: none;
    box-shadow: 0 4px 8px rgba(128, 0, 0, 0.4);
}

.fa-eye, .fa-eye-slash {
    position: relative;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    margin-top: 6px;
}

.fa-eye:hover, .fa-eye-slash:hover {
    color: maroon;
}

#togglePassword1, #togglePassword2 {
    margin-left: 80px;
}

.remember-forgot-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 10px 0 0;
}

.action-container p{
    margin-top: 45px;
    color: rgb(88, 88, 88);
    font-size: smaller;
}

.forgot-password {
    font-size: 12px;
    color: #800000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #5c0000;
    text-decoration: underline;
}

.try-again {
    font-size: 18px;
    color: #800000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.try-again:hover {
    color: #5c0000;
    text-decoration: underline;
}

.login-button {
    margin: 35px 0 0 0;
    width: 100%;
    background: linear-gradient(135deg, #800000, #5c0000);
    color: white;
    padding: 9px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s ease;
}

.login-button:hover {
    background: linear-gradient(135deg, #5c0000, #800000);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(128, 0, 0, 0.2);
}

.reset-button {
    margin: 10px 0 20px 0;
    width: 100%;
    background: linear-gradient(135deg, #800000, #5c0000);
    color: white;
    padding: 9px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s ease;
}

.reset-button:hover {
    background: linear-gradient(135deg, #5c0000, #800000);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(128, 0, 0, 0.2);
}

.sentence{
    margin: 20px;
}

.register-link {
    margin-top: 28px;
    font-size: 14px;
    color: #000;
}

.register {
    color: #800000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.register:hover {
    color: #5c0000;
    text-decoration: underline;
}


@keyframes fadeInPage {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100px);  
        opacity: 0;
    }
    to {
        transform: translateX(0);  
        opacity: 1;
    }
}