body {
    background: #f5f7fa;
    min-height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    font-family: -apple-system, 'Segoe UI', sans-serif;
}

.login-wrapper {
    display: flex;
    width: 100%;
    max-width: 840px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecf0;
}

.login-brand {
    background: #1a1a2e;
    flex: 1;
    padding: 48px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.login-brand::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 165, 0, 0.06);
}

.login-brand::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 165, 0, 0.04);
}

.login-brand img {
    height: 48px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    position: relative;
    z-index: 1;
}

.login-brand h1 {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.login-brand p {
    opacity: 0.7;
    font-size: 0.9rem;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.login-form {
    flex: 1;
    background-color: #fff;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-form h2 {
    color: #1a1a2e;
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 28px;
}

.login-form .form-label {
    font-weight: 600;
    color: #444;
    font-size: 0.85rem;
}

.login-form .form-control {
    border: 1.5px solid #e0e3e8;
    border-radius: 8px;
    padding: 10px 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-form .form-control:focus {
    border-color: #FFA500;
    box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.08);
}

.login-form .input-group-text {
    background-color: #fafbfc;
    border: 1.5px solid #e0e3e8;
    border-right: none;
    color: #999;
}

.btn-login {
    background: #1a1a2e;
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 11px;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.btn-login:hover {
    background: #2d2d44;
    color: #fff;
    transform: translateY(-1px);
}

.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: #bbb;
    font-size: 0.8rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #eee;
}

.divider::before { margin-right: 12px; }
.divider::after { margin-left: 12px; }

.action-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.action-links a {
    color: #667;
    text-decoration: none;
    font-size: 0.83rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.action-links a:hover {
    color: #FFA500;
}

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

    .login-brand {
        padding: 32px 24px;
    }

    .login-brand h1 {
        font-size: 1.4rem;
    }

    .login-form {
        padding: 32px 24px;
    }
}
