.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.login-overlay.active {
    opacity: 1;
    visibility: visible;
}

.login-slider {
    position: fixed;
    top: 0;
    right: 0;
    width: 450px;
    height: 100vh;
    background-color: #ffffff;
    z-index: 2000;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
}

.login-slider.open {
    transform: translateX(0);
}

/* -- Login Header & Body -- */
.login-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e2e8f0;
}

.login-title {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1a202c;
}

.login-close-btn {
    background: none;
    border: none;
    font-size: 32px;
    color: #4a5568;
    cursor: pointer;
    line-height: 1;
}

.login-body {
    padding: 32px;
    overflow-y: auto;
    flex-grow: 1;
}

/* -- Form Styling -- */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 8px;
}

.form-group .required {
    color: #e53e3e;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 50px;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}



.form-links {
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 28px;
}

.form-links p {
    margin: 4px 0;
}

.form-links a {
    color: #059669;
    font-weight: 600;
    text-decoration: none;
}

/* -- Buttons and Separator -- */
.btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-login {
    background-color: #059669;
    color: #ffffff;
}

.btn-login:hover {
    background-color: #047857;
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: #a0aec0;
    margin: 24px 0;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.separator:not(:empty)::before {
    margin-right: .5em;
}

.separator:not(:empty)::after {
    margin-left: .5em;
}

.btn-google {
    background-color: #ffffff;
    color: #333;
    border: 1px solid #cbd5e1;
}

.btn-google:hover {
    background-color: #f8fafc;
}

.btn-google .google-icon {
    margin-right: 12px;
}

/* -- Responsive Design -- */
@media (max-width: 768px) {
    .login-slider {
        width: 400px;
    }
}

@media (max-width: 480px) {
    .login-slider {
        width: 100%;
    }

    .login-header,
    .login-body {
        padding: 24px;
    }

    .login-title {
        font-size: 24px;
    }
}


.remember {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 15px;
    border: 1px solid red;
}