:root {
    /* TEMAL: EMERALD GREEN & GOLD (Sesuai Landing Page) */
    --primary: #059669;
    --primary-dark: #047857;
    --secondary: #fbbf24;
    --bg-light: #f0fdf4; /* Hijau tipis */
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --shadow-card: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* LAYOUT */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-wrapper {
    background: white;
    width: 100%;
    max-width: 1100px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    min-height: 650px;
}

/* LEFT SIDE (IMAGE) */
.login-image {
    flex: 1.2;
    background: linear-gradient(
            135deg,
            rgba(5, 150, 105, 0.9),
            rgba(6, 78, 59, 0.8)
        ),
        url("https://images.unsplash.com/photo-1548355752-a02065d109f2?q=80&w=2000&auto=format&fit=crop")
            center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    color: white;
    position: relative;
}

.login-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(#fbbf24 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.1;
}

.quote-box {
    position: relative;
    z-index: 2;
}
.quote-text {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
}
.quote-author {
    font-size: 1rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 10px;
}
.quote-author::before {
    content: "";
    width: 40px;
    height: 2px;
    background: var(--secondary);
    display: block;
}

/* RIGHT SIDE (FORM) */
.login-form-side {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.back-home {
    position: absolute;
    top: 30px;
    right: 30px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.back-home:hover {
    color: var(--primary);
}

.brand-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 10px;
}
.login-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.login-subtitle {
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* FORM ELEMENTS */
.form-floating > .form-control {
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    height: 55px;
    padding-left: 20px;
}
.form-floating > .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1);
}
.form-floating > label {
    padding-left: 20px;
}

.btn-login {
    background: var(--primary);
    color: white;
    height: 55px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    width: 100%;
    border: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btn-login:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(5, 150, 105, 0.4);
    color: white;
}

.btn-register {
    background: white;
    color: var(--text-dark);
    border: 2px solid #e2e8f0;
}
.btn-register:hover {
    border-color: var(--secondary);
    color: var(--text-dark);
    background: #fffbeb; /* Kuning tipis */
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-muted);
    margin: 30px 0;
    font-size: 0.9rem;
}
.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}
.divider:not(:empty)::before {
    margin-right: 0.5em;
}
.divider:not(:empty)::after {
    margin-left: 0.5em;
}

/* MOBILE RESPONSIVE */
@media (max-width: 991px) {
    .login-image {
        display: none;
    }
    .login-form-side {
        padding: 40px 30px;
    }
    .login-wrapper {
        max-width: 500px;
        min-height: auto;
    }
}
