body {
    height: 100vh;
    display: flex;
    overflow: hidden;
}

/* ── Left Panel ─────────────────────────────── */
.left-panel {
    width: 38%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px;
    position: relative;
    z-index: 1;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-icon {
    width: 68px;
    height: 68px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #1a7a6e;
    line-height: 1;
    text-transform: uppercase;
}

.brand-tagline {
    font-size: 0.65rem;
    color: #e07b2a;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 2px;
}

.brand-subtitle {
    font-size: 0.72rem;
    color: #888;
    margin-top: 4px;
    letter-spacing: 1px;
}

/* ── Right Panel ────────────────────────────── */
.right-panel {
    width: 62%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.right-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        #1a7a6e 0%,
        #2d9e50 25%,
        #6b9e35 50%,
        #c8a020 75%,
        #e8b800 100%
    );
    z-index: 0;
}

.right-panel::after {
    content: '';
    position: absolute;
    top: -60px;
    left: -40px;
    width: 260px;
    height: 260px;
    background: rgba(26, 122, 110, 0.55);
    border-radius: 50%;
    z-index: 0;
}

/* ── Login Card ─────────────────────────────── */
.login-card {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: 16px;
    padding: 44px 48px 36px;
    width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    border-top: 4px solid #e07b2a;
}

.card-header {
    text-align: center;
    margin-bottom: 32px;
}

.card-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.card-header p {
    font-size: 0.875rem;
    color: #6b7280;
}

/* ── Form Fields ────────────────────────────── */
.form-group {
    margin-bottom: 20px;
}

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

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: #9ca3af;
    display: flex;
    align-items: center;
}

.input-icon svg {
    width: 18px;
    height: 18px;
}

.form-input {
    width: 100%;
    padding: 13px 14px 13px 44px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #111827;
    background: #f9fafb;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
}

.form-input:focus {
    border-color: #1a7a6e;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(26, 122, 110, 0.1);
}

.form-input.is-invalid {
    border-color: #ef4444;
}

.toggle-password {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    display: flex;
    align-items: center;
    padding: 0;
    transition: color 0.2s;
}

.toggle-password:hover {
    color: #374151;
}

.toggle-password svg {
    width: 20px;
    height: 20px;
}

/* ── Error message ──────────────────────────── */
.error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.error-message svg {
    width: 16px;
    height: 16px;
    color: #ef4444;
    flex-shrink: 0;
}

.error-message span {
    font-size: 0.825rem;
    color: #dc2626;
}

.field-error {
    font-size: 0.775rem;
    color: #ef4444;
    margin-top: 5px;
}

/* ── Login Button ───────────────────────────── */
.btn-login {
    width: 100%;
    padding: 14px;
    background: #1a7a6e;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
    margin-top: 8px;
    letter-spacing: 0.5px;
}

.btn-login:hover {
    background: #155f56;
    box-shadow: 0 4px 20px rgba(26, 122, 110, 0.35);
}

.btn-login:active {
    transform: translateY(1px);
}

.btn-login svg {
    width: 18px;
    height: 18px;
}

/* ── Secure Badge ───────────────────────────── */
.secure-badge {
    margin-top: 28px;
    text-align: center;
}

.secure-badge-inner {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1a7a6e;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.secure-badge-inner svg {
    width: 16px;
    height: 16px;
}

.secure-badge p {
    font-size: 0.75rem;
    color: #9ca3af;
    line-height: 1.5;
}

/* ── Footer ─────────────────────────────────── */
.page-footer {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
}

.page-footer span {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.65);
    white-space: nowrap;
}

/* ── Responsive ─────────────────────────────── */
@media (max-width: 768px) {
    .left-panel {
        display: none;
    }
    .right-panel {
        width: 100%;
    }
    .login-card {
        width: 90%;
        padding: 32px 24px;
    }
}
