* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Arial, sans-serif; min-height: 100vh; display: flex; }

/* LEFT SIDE */
.left-panel {
    width: 45%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 70px;
    background: #fff;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
}
.logo-icon {
    width: 48px;
    height: 50px;
    background: linear-gradient(135deg, #1a3c6e, #2563eb);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-icon i { color: white; font-size: 25px; }
.logo-text { line-height: 1.2; }
.logo-text span { display: block; font-size: 14px; color: #6b7280; text-transform: uppercase; letter-spacing: 1px; }
.logo-text strong { font-size: 18px; color: #1a3c6e; font-weight: 700; }

.welcome { margin-bottom: 36px; }
.welcome p { color: #6b7280; font-size: 15px; margin-bottom: 4px; }
.welcome h1 { color: #1a3c6e; font-size: 32px; font-weight: 700; }

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}
.form-group label span { color: #ef4444; }
.input-wrap { position: relative; }
.input-wrap input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    color: #111827;
    background: #f9fafb;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}
.input-wrap input:focus {
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.input-wrap .toggle-pw {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    cursor: pointer;
    font-size: 15px;
    background: none;
    border: none;
}
.show-pw {
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-login {
    width: 100%;
    padding: 13px;
    background: #1a3c6e;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, transform .1s;
    margin-top: 8px;
}
.btn-login:hover { background: #1e40af; }
.btn-login:active { transform: scale(.99); }

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    font-size: 14px;
}
.form-footer a { color: #2563eb; text-decoration: none; }
.form-footer a:hover { text-decoration: underline; }

/* RIGHT SIDE */
.right-panel {
    width: 55%;
    min-height: 100vh;
    background: #0f2557;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
}
.circle {
    position: absolute;
    border-radius: 50%;
}
.circle-1 {
    width: 180px; height: 180px;
    background: #22c55e;
    top: -40px; right: 80px;
    opacity: .9;
}
.circle-2 {
    width: 100px; height: 100px;
    background: #f97316;
    bottom: 60px; right: 40px;
    opacity: .9;
}
.circle-3 {
    width: 300px; height: 300px;
    background: rgba(255,255,255,.03);
    border: 2px solid rgba(255,255,255,.07);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.right-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 50px 40px 40px;
    width: 100%;
}
.right-content h2 {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}
.right-content p {
    color: rgba(255,255,255,.7);
    font-size: 15px;
    max-width: 380px;
    line-height: 1.7;
    margin: 0 auto 40px;
}
.illustration {
    width: 220px;
    max-width: 100%;
}
.features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    margin-top: 32px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,.85);
    font-size: 14px;
}
.feature-item .icon {
    width: 32px; height: 32px;
    background: rgba(255,255,255,.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.feature-item .icon i { color: #60a5fa; font-size: 14px; }

@media (max-width: 768px) {
    .right-panel { display: none; }
    .left-panel { width: 100%; padding: 40px 30px; }
}