* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    background: #f3f4f6;
    min-height: 100vh;
}

/* Layout utama: kiri foto, kanan form */
.login-page {
    display: flex;
    min-height: 100vh;
}

/* Panel kiri */
.left-panel {
    flex: 2;
    background: url("../image/login.avif");
    background-size: cover;
    background-position: center;
}

/* Panel kanan */
.right-panel {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
}

.login-wrapper {
    width: 100%;
    max-width: 420px;
    padding: 32px 40px;
}

/* Logo */
.logo-area {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}
.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #38bdf8, #0369a1);
    margin-right: 10px;
}
.logo-text .logo-main {
    font-weight: 700;
    font-size: 24px;
    color: #2563eb;
}
.logo-text .logo-sub {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
}

/* Card form */
.card {
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 24px 24px 18px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    background: #ffffff;
}

.field-group {
    margin-bottom: 12px;
}
label {
    font-size: 13px;
    margin-bottom: 4px;
    display: block;
    color: #111827;
}

.input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    font-size: 14px;
    background: #f9fafb;
}
.input:focus {
    outline: none;
    border-color: #2563eb;
    background: #ffffff;
}

.button-row {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-primary {
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    background: #2563eb;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
}
.btn-primary:disabled {
    background: #93c5fd;
    cursor: default;
}

.link-forgot {
    font-size: 13px;
    color: #2563eb;
    text-decoration: none;
}
.link-forgot:hover {
    text-decoration: underline;
}

.alert {
    background: #fee2e2;
    color: #b91c1c;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 13px;
    margin-bottom: 10px;
}

.footer {
    margin-top: 16px;
    font-size: 11px;
    color: #6b7280;
    line-height: 1.4;
}