/* ============================================
   KASIR ES TEH — LOGIN v1.0
   Tema: Kuning Murni & Hijau (Lemon Tea)
   Responsive Mobile-First | Onboarding-Style
   ============================================ */

:root {
    /* Warna Utama Hijau (Emerald) */
    --primary: #059669;
    --primary-hover: #047857;
    --primary-deep: #064E3B;
    --primary-light: #ECFDF5;
    --primary-soft: #D1FAE5;
    
    /* Warna Aksen Kuning Murni */
    --accent: #FACC15;
    --accent-hover: #EAB308;
    --accent-light: #FEF9C3;
    --accent-deep: #CA8A04;
    
    /* Gradien Kombinasi */
    --primary-gradient: linear-gradient(135deg, #FACC15 0%, #EAB308 40%, #059669 100%);
    --accent-gradient: linear-gradient(135deg, #FACC15 0%, #EAB308 100%);

    /* Warna Latar */
    --bg-body: #F0FDF4;
    --bg-shell-top: #FFFFFF;
    --bg-shell-bottom: #FEF9C3;
    --surface: #FFFFFF;
    --bg-input: #F0FDF4;

    /* Warna Teks */
    --ink: #022C22;
    --text-strong: #064E3B;
    --text-body: #065F46;
    --text-muted: #059669;

    /* Border */
    --border-soft: #D1FAE5;
    --border-input: #A7F3D0;

    /* Status */
    --success: #10B981;
    --success-bg: #ECFDF5;
    --warning: #EAB308;
    --warning-bg: #FEF9C3;
    --danger: #EF4444;
    --danger-bg: #FEF2F2;
    --info: #3B82F6;

    /* Bayangan */
    --shadow-card: 0 20px 45px rgba(6, 78, 59, 0.12);
    --shadow-soft: 0 6px 18px rgba(6, 78, 59, 0.08);
    --shadow-btn: 0 10px 24px rgba(234, 179, 8, 0.35);
    --shadow-focus: 0 0 0 4px rgba(250, 204, 21, 0.25);
    --shadow-accent: 0 10px 24px rgba(250, 204, 21, 0.4);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Font */
    --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

    /* Animasi */
    --ease-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --ease-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

body.login-page {
    font-family: var(--font-ui);
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-body);
    background: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
}

/* ============================================
   APP SHELL - Wadah Utama Aplikasi
   ============================================ */
.app-shell {
    position: relative;
    width: 100%;
    max-width: 430px;
    min-height: 100dvh;
    background: linear-gradient(180deg, var(--bg-shell-top) 0%, var(--bg-shell-bottom) 100%);
    display: flex;
    flex-direction: column;
    padding: calc(14px + env(safe-area-inset-top)) 22px calc(12px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overflow-x: hidden;
}

/* Mode Desktop */
@media (min-width: 480px) {
    .app-shell {
        min-height: auto;
        height: min(880px, 94vh);
        border-radius: 44px;
        box-shadow: 0 40px 80px rgba(6, 78, 59, 0.18);
        border: 1px solid var(--border-soft);
    }
}

/* ============================================
   HEADER - Baris Brand
   ============================================ */
.brand-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    animation: fadeDown 0.5s ease both;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: var(--accent-gradient);
    color: var(--primary-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(250, 204, 21, 0.4);
    transition: transform var(--ease-base);
}

.brand-logo:hover {
    transform: scale(1.05) rotate(5deg);
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 13px;
}

.brand-logo i {
    color: var(--primary-deep);
}

.brand-id {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.brand-id-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-strong);
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-id-tag {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: var(--accent-light);
    border: 1px solid var(--accent);
    color: var(--primary-deep);
    border-radius: var(--radius-full);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(250, 204, 21, 0.2);
}

.brand-pill i {
    font-size: 9px;
    color: var(--accent-hover);
}

/* ============================================
   HEADLINE - Judul Utama
   ============================================ */
.headline {
    margin-top: clamp(10px, 2.2vh, 26px);
    flex-shrink: 0;
    animation: fadeUp 0.6s ease 0.1s both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.headline-title {
    font-size: clamp(23px, 7.2vw, 30px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-strong);
}

.hl-accent {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.headline-sub {
    margin-top: 6px;
    font-size: clamp(12px, 3.4vw, 13.5px);
    color: var(--text-body);
    max-width: 300px;
    line-height: 1.5;
}

/* ============================================
   HERO SCENE - Animasi Lemon Tea
   ============================================ */
.hero-scene {
    position: relative;
    flex: 1 1 auto;
    min-height: 140px;
    max-height: 260px;
    margin-top: 4px;
    contain: layout paint;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-blob {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(82%, 240px);
    height: min(94%, 240px);
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at 35% 30%, var(--accent-light) 0%, var(--primary-soft) 55%, rgba(209, 250, 229, 0) 75%);
    border-radius: 50%;
    animation: blobPulse 4s ease-in-out infinite;
}

@keyframes blobPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Awan Dekoratif */
.cloud {
    position: absolute;
    background: #FFFFFF;
    border-radius: var(--radius-full);
    box-shadow: 0 10px 22px rgba(6, 78, 59, 0.08);
    will-change: transform;
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: #FFFFFF;
    border-radius: 50%;
}

.cloud-1 {
    width: 92px;
    height: 28px;
    top: 12%;
    right: 4%;
    animation: drift 7s ease-in-out infinite;
}

.cloud-1::before {
    width: 38px;
    height: 38px;
    top: -18px;
    left: 14px;
}

.cloud-1::after {
    width: 26px;
    height: 26px;
    top: -11px;
    right: 16px;
}

.cloud-2 {
    width: 74px;
    height: 24px;
    bottom: 20%;
    left: 2%;
    animation: drift 8s ease-in-out 1s infinite;
}

.cloud-2::before {
    width: 30px;
    height: 30px;
    top: -14px;
    left: 12px;
}

.cloud-2::after {
    width: 22px;
    height: 22px;
    top: -9px;
    right: 12px;
}

.cloud-3 {
    width: 56px;
    height: 18px;
    top: 30%;
    left: 10%;
    opacity: 0.85;
    animation: drift 6s ease-in-out 0.5s infinite;
}

.cloud-3::before {
    width: 22px;
    height: 22px;
    top: -10px;
    left: 9px;
}

.cloud-3::after {
    width: 16px;
    height: 16px;
    top: -7px;
    right: 9px;
}

@keyframes drift {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-10px);
    }
}

/* Chip Ikon Melayang */
.float-chip {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    will-change: transform;
    z-index: 2;
    transition: transform var(--ease-base);
}

.float-chip:hover {
    transform: scale(1.1);
}

.chip-leaf {
    top: 6%;
    left: 14%;
    color: var(--primary);
    background: var(--primary-light);
    border: 1px solid var(--primary-soft);
    animation: floaty 4.5s ease-in-out infinite;
}

.chip-ice {
    bottom: 12%;
    right: 10%;
    color: var(--info);
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    animation: floaty 5s ease-in-out 0.8s infinite;
}

.chip-star {
    top: 38%;
    right: 2%;
    width: 36px;
    height: 36px;
    font-size: 13px;
    color: var(--accent-hover);
    background: var(--accent-light);
    border: 1px solid var(--accent);
    animation: floaty 4s ease-in-out 1.4s infinite;
}

@keyframes floaty {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(-4deg);
    }
}

/* Gelas Es Teh Utama */
.tea-hero {
    position: absolute;
    left: 50%;
    top: 50%;
    height: min(75%, 170px);
    aspect-ratio: 1 / 1.2;
    transform: translate(-50%, -52%);
    z-index: 3;
    animation: floatGlass 4s ease-in-out infinite;
    will-change: transform;
}

@keyframes floatGlass {
    0%, 100% {
        transform: translate(-50%, -52%);
    }
    50% {
        transform: translate(-50%, -58%);
    }
}

.tea-hero svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Bayangan Tanah */
.hero-ground {
    position: absolute;
    left: 50%;
    bottom: 12%;
    width: min(50%, 120px);
    height: 18px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(6, 78, 59, 0.15) 0%, rgba(6, 78, 59, 0) 70%);
    border-radius: 50%;
    animation: groundShadow 4s ease-in-out infinite;
}

@keyframes groundShadow {
    0%, 100% {
        transform: translateX(-50%) scaleX(1);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) scaleX(0.85);
        opacity: 0.7;
    }
}

/* ============================================
   FORM CARD - Kartu Formulir
   ============================================ */
.form-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: clamp(14px, 2.4vh, 22px) 16px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-soft);
    flex-shrink: 0;
    animation: fadeUp 0.6s ease 0.2s both;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-field {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-input);
    border: 1.5px solid var(--border-input);
    border-radius: var(--radius-md);
    transition: border-color var(--ease-fast), box-shadow var(--ease-fast), background var(--ease-fast);
    overflow: hidden;
}

.input-field:focus-within {
    border-color: var(--accent);
    background: #FFFFFF;
    box-shadow: var(--shadow-focus);
}

.input-field.error {
    border-color: var(--danger);
    background: var(--danger-bg);
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

.input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    color: var(--primary);
    font-size: 15px;
    flex-shrink: 0;
}

.form-input {
    flex: 1;
    padding: 13px 10px 13px 0;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-strong);
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    min-width: 0;
}

.form-input::placeholder {
    color: var(--text-muted);
    font-weight: 500;
}

.toggle-password {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 8px 14px;
    cursor: pointer;
    font-size: 15px;
    transition: color var(--ease-fast);
    flex-shrink: 0;
}

.toggle-password:hover,
.toggle-password:active {
    color: var(--primary);
}

/* Opsi Formulir */
.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    font-size: 13px;
    color: var(--text-body);
    font-weight: 500;
}

.checkbox-wrap input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--border-input);
    border-radius: 6px;
    background: var(--bg-input);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--ease-fast);
    flex-shrink: 0;
}

.checkbox-wrap input:checked + .checkmark {
    background: var(--accent);
    border-color: var(--accent);
}

.checkbox-wrap input:checked + .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-deep);
    font-size: 10px;
}

.forgot-link {
    font-size: 13px;
    color: var(--primary-hover);
    text-decoration: none;
    font-weight: 700;
    transition: color var(--ease-fast);
}

.forgot-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Tombol Login */
.btn-login {
    position: relative;
    width: 100%;
    padding: 14px 22px;
    margin-top: 2px;
    background: var(--accent-gradient);
    color: var(--primary-deep);
    border: none;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    font-family: inherit;
    letter-spacing: 0.01em;
    box-shadow: var(--shadow-accent);
    transition: transform var(--ease-fast), box-shadow var(--ease-fast);
    min-height: 50px;
}

.btn-login:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(250, 204, 21, 0.5);
}

.btn-login:active:not(:disabled) {
    transform: translateY(0) scale(0.98);
}

.btn-login:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-text,
.btn-arrow {
    position: relative;
    z-index: 1;
}

.btn-arrow {
    font-size: 13px;
    transition: transform var(--ease-fast);
}

.btn-login:hover:not(:disabled) .btn-arrow {
    transform: translateX(4px);
}

.btn-loader {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    z-index: 2;
}

.btn-login.loading .btn-text,
.btn-login.loading .btn-arrow {
    opacity: 0;
}

.btn-login.loading .btn-loader {
    display: flex;
}

.loader-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-deep);
    border-radius: 50%;
    animation: loaderBounce 1.4s ease-in-out infinite both;
}

.loader-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.loader-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes loaderBounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

.security-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 2px;
    padding: 9px 12px;
    background: var(--success-bg);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    font-size: 12px;
    color: #067647;
    font-weight: 600;
}

.security-info i {
    font-size: 13px;
    color: var(--success);
}

/* ============================================
   FOOTER - Footer Aplikasi
   ============================================ */
.app-footer {
    margin-top: auto;
    padding-top: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    animation: fadeUp 0.6s ease 0.3s both;
}

.app-footer p {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.version-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    padding: 2px 10px;
    background: #FFFFFF;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* ============================================
   TOAST - Notifikasi
   ============================================ */
.toast-container {
    position: fixed;
    top: calc(16px + env(safe-area-inset-top));
    left: 16px;
    right: 16px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 430px;
    margin: 0 auto;
}

.toast {
    background: #FFFFFF;
    padding: 13px 15px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    font-weight: 600;
    border: 1px solid var(--border-soft);
    border-left: 4px solid var(--primary);
    animation: toastIn 0.25s ease;
    pointer-events: auto;
    color: var(--text-strong);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.toast-success {
    border-left-color: var(--success);
}

.toast-warning {
    border-left-color: var(--warning);
}

.toast-error {
    border-left-color: var(--danger);
}

.toast-info {
    border-left-color: var(--info);
}

.toast-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    color: #FFFFFF;
}

.toast-success .toast-icon {
    background: var(--success);
}

.toast-warning .toast-icon {
    background: var(--warning);
}

.toast-error .toast-icon {
    background: var(--danger);
}

.toast-info .toast-icon {
    background: var(--info);
}

.toast-content {
    flex: 1;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    font-size: 13px;
    border-radius: 8px;
    transition: all var(--ease-fast);
}

.toast-close:hover {
    color: var(--text-strong);
    background: var(--bg-input);
}

/* ============================================
   INSTALL PROMPT - Prompt Instalasi PWA
   ============================================ */
.install-prompt {
    position: fixed;
    bottom: calc(20px + env(safe-area-inset-bottom));
    left: 16px;
    right: 16px;
    max-width: 430px;
    margin: 0 auto;
    z-index: 9998;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.install-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-soft);
}

.install-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--primary-deep);
    flex-shrink: 0;
}

.install-content h3 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-strong);
}

.install-content p {
    font-size: 11.5px;
    color: var(--text-body);
}

.install-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.btn-install {
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-deep);
    background: var(--accent);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    transition: all var(--ease-fast);
}

.btn-install:hover {
    background: var(--accent-hover);
}

.btn-dismiss {
    width: 30px;
    height: 30px;
    background: var(--bg-input);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--ease-fast);
}

.btn-dismiss:hover {
    background: var(--danger-bg);
    color: var(--danger);
}

/* ============================================
   MODAL - Dialog Modal
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 78, 59, 0.4);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    max-width: 360px;
    width: 100%;
    box-shadow: var(--shadow-card);
    animation: modalIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(-15px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 18px 22px 14px;
    border-bottom: 1px solid var(--border-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-strong);
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-header h3 i {
    color: var(--accent);
}

.modal-close {
    width: 32px;
    height: 32px;
    background: var(--bg-input);
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all var(--ease-fast);
}

.modal-close:hover {
    background: var(--danger-bg);
    color: var(--danger);
}

.modal-body {
    padding: 24px;
    text-align: center;
}

.modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: var(--accent-light);
    color: var(--primary-deep);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    border: 2px solid var(--accent);
}

.modal-text {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.6;
}

.modal-footer {
    padding: 16px 22px;
    border-top: 1px solid var(--border-soft);
}

.btn-modal-close {
    width: 100%;
    padding: 13px;
    background: var(--accent-gradient);
    color: var(--primary-deep);
    border: none;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    box-shadow: var(--shadow-accent);
    transition: all var(--ease-fast);
}

.btn-modal-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(250, 204, 21, 0.5);
}

/* ============================================
   RESPONSIVE - Media Queries
   ============================================ */
@media (max-width: 360px) {
    .app-shell {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .brand-logo {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
    
    .brand-pill {
        display: none;
    }
    
    .float-chip {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    
    .form-card {
        padding: 14px;
    }
}

@media (max-height: 720px) {
    .headline {
        margin-top: 8px;
    }
    
    .headline-sub {
        margin-top: 4px;
        font-size: 12px;
    }
    
    .hero-scene {
        min-height: 125px;
    }
    
    .form-input {
        padding: 12px 10px 12px 0;
    }
    
    .btn-login {
        min-height: 48px;
    }
    
    .security-info {
        padding: 8px 10px;
        font-size: 11px;
    }
    
    .app-footer {
        padding-top: 8px;
    }
}

@media (max-height: 640px) {
    .headline-sub {
        display: none;
    }
    
    .security-info {
        display: none;
    }
    
    .hero-scene {
        min-height: 110px;
    }
    
    .brand-id-tag {
        display: none;
    }
}

/* Aksesibilitas */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

::selection {
    background: var(--accent);
    color: var(--primary-deep);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Scrollbar Kustom */
.app-shell::-webkit-scrollbar {
    width: 6px;
}

.app-shell::-webkit-scrollbar-track {
    background: var(--bg-input);
}

.app-shell::-webkit-scrollbar-thumb {
    background: var(--primary-soft);
    border-radius: 3px;
}

.app-shell::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}