/* Login Modal Styles */

.login_modal_content {
    border-radius: 24px;
    border: none;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.login_close_btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login_close_btn:hover {
    background: #ffffff;
    transform: rotate(90deg);
}

.login_close_btn i {
    font-size: 20px;
    color: #333;
}

/* Left Section - Branding */
.login_left_section {
    background: linear-gradient(135deg, #43c59e 0%, #3ab58c 100%);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 600px;
}

.login_branding {
    color: #ffffff;
}

.login_logo {
    max-width: 150px;
    margin-bottom: 32px;
    filter: brightness(0) invert(1);
}

.login_welcome_title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.login_welcome_description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 0;
}

.login_illustration {
    text-align: center;
    margin-top: 40px;
}

.login_illustration img {
    max-width: 100%;
    height: auto;
}

/* Right Section - Form */
.login_form_section {
    padding: 60px 50px;
    background: #ffffff;
}

.login_form_header {
    margin-bottom: 32px;
}

.login_title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

/* Social Login */
.social_login_wrapper {
    margin-bottom: 24px;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.social_login_wrapper > div {
    flex: 1;
    min-width: 0;
}

#status {
    display: none;
}

/* Custom Social Login Buttons */
.social_login_btn {
    flex: 1;
    min-width: 0;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
}

.social_login_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social_login_btn svg {
    flex-shrink: 0;
}

.google_btn {
    color: #333;
}

.google_btn:hover {
    border-color: #4285F4;
    background: #f8f9fa;
}

.facebook_btn {
    color: #333;
}

.facebook_btn:hover {
    border-color: #1877F2;
    background: #f8f9fa;
}

/* Divider */
.login_divider {
    position: relative;
    text-align: center;
    margin: 32px 0;
}

.login_divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.login_divider span {
    position: relative;
    background: #ffffff;
    padding: 0 16px;
    font-size: 0.9rem;
    color: #666;
}

/* Login Form */
.login_form .form-group {
    margin-bottom: 24px;
}

.login_form label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.login_form input[type="email"],
.login_form input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #333;
    transition: all 0.3s ease;
    font-family: inherit;
}

.login_form input[type="email"]:focus,
.login_form input[type="password"]:focus {
    outline: none;
    border-color: #43c59e;
    box-shadow: 0 0 0 4px rgba(67, 197, 158, 0.1);
}

.login_form input::placeholder {
    color: #999;
}

/* Password Field with Eye Icon */
.password_field_group {
    position: relative;
}

.password_input_wrapper {
    position: relative;
}

.password_input_wrapper input {
    padding-right: 45px;
}

.toggle-loginpassword {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.toggle-loginpassword:hover {
    color: #43c59e;
}

/* Login Options */
.login_options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

/* Custom Checkbox */
.custom_checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.custom_checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 20px;
    height: 20px;
    z-index: 1;
}

.checkmark {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    margin-right: 8px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.custom_checkbox input:checked ~ .checkmark {
    background: #43c59e;
    border-color: #43c59e;
}

.custom_checkbox input:checked ~ .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox_label {
    font-size: 0.9rem;
    color: #555;
}

/* Forgot Password Link */
.forgot_link {
    font-size: 0.9rem;
    color: #43c59e;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot_link:hover {
    color: #3ab58c;
}

/* Submit Button */
.login_submit_btn {
    width: 100%;
    padding: 14px 32px;
    background: linear-gradient(135deg, #43c59e 0%, #3ab58c 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login_submit_btn:hover {
    background: linear-gradient(135deg, #3ab58c 0%, #32a07d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 197, 158, 0.3);
    gap: 12px;
}

.login_submit_btn:active {
    transform: translateY(0);
}

/* Signup Prompt */
.signup_prompt {
    text-align: center;
    margin-top: 24px;
    font-size: 0.95rem;
    color: #666;
}

.signup_prompt a {
    color: #43c59e;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.signup_prompt a:hover {
    color: #3ab58c;
}

/* Responsive Design */
@media (max-width: 991px) {
    .login_form_section {
        padding: 40px 30px;
    }

    .login_title {
        font-size: 1.75rem;
    }

    .login_welcome_title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .login_form_section {
        padding: 30px 20px;
    }

    .login_title {
        font-size: 1.5rem;
    }

    .login_options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .forgot_password_wrapper {
        width: 100%;
        text-align: left;
    }
}

@media (max-width: 575px) {
    .login_modal_content {
        border-radius: 16px;
    }

    .login_close_btn {
        width: 36px;
        height: 36px;
        top: 12px;
        right: 12px;
    }

    .login_form_section {
        padding: 24px 16px;
    }

    .login_title {
        font-size: 1.35rem;
    }

    .login_form input[type="email"],
    .login_form input[type="password"] {
        padding: 12px 14px;
        font-size: 0.9rem;
    }

    .login_submit_btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}
