/* ========================================
   LOGIN PAGE STYLES
   ======================================== */

.login-container {
    display: flex;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    min-height: 550px;
    margin: 0 auto;
}

.login-brand {
    flex: 1;
    background: linear-gradient(135deg, #B3C100 0%, #2DA1D7 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: white;
    text-align: center;
}

.brand-content {
    position: relative;
    z-index: 2;
}

.brand-logo {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.brand-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.brand-content p {
    font-size: 16px;
    opacity: 0.85;
    max-width: 300px;
    margin: 0 auto;
}

.brand-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 1;
}

.login-form-container {
    flex: 1.2;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: clamp(24px, 4vw, 50px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header {
    text-align: center;
}

.login-header h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 700;
}

.login-header p {
    color: #666;
    font-size: 14px;
}

.btn-google {
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 25px;
}

.btn-google:hover {
    background: #f9f9f9;
    border-color: #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.btn-google img {
    width: 20px;
    height: 20px;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 25px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eee;
}

.divider span {
    padding: 0 10px;
    color: #999;
    font-size: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 14px;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    border-color: #2DA1D7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 161, 215, 0.1);
}

.error-msg {
    display: block;
    font-size: 12px;
    color: #dc3545;
}

.captcha-box {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.captcha-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.captcha-checkbox label {
    margin: 0;
    font-weight: 500;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.captcha-logo {
    width: 38px;
    opacity: 0.6;
}

.btn-login-submit {
    width: 100%;
    background: #2DA1D7;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-login-submit:hover {
    background: #1e8ab8;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(45, 161, 215, 0.3);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.forgot-password {
    font-size: 13px;
    color: #2DA1D7;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #666;
}

.login-footer a {
    color: #2DA1D7;
    font-weight: 600;
    text-decoration: none;
}

.msg-error {
    color: #dc3545;
    background: #fdf2f2;
    padding: 10px;
    border-radius: 6px;
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
}

.msg-success {
    color: #28a745;
    background: #f0fdf4;
    padding: 10px;
    border-radius: 6px;
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .login-form-container {
        padding: 32px 24px;
    }
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        max-width: 450px;
    }

    .login-brand {
        padding: 30px 20px;
    }

    .login-form-container {
        padding: 30px 25px;
    }

    .brand-content h2 {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .login-form-container {
        padding: 22px 16px;
    }

    .login-header h1 {
        font-size: clamp(20px, 5vw, 24px);
        line-height: 1.25;
    }

    .login-header p {
        font-size: 13px;
        line-height: 1.4;
    }

    .btn-google {
        padding: 10px 12px;
        font-size: 14px;
    }

    .captcha-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px;
    }

    .captcha-checkbox {
        width: 100%;
    }

    .captcha-checkbox label {
        font-size: 13px;
    }

    .captcha-logo {
        width: 32px;
        align-self: flex-end;
    }
}
