/* ROOT VARIABLES - KANA EMERALD THEME */
:root {
    --brand-green: #059669;
    --brand-dark: #064e3b;
    --brand-light: #ecfdf5;
    --bg-gradient: linear-gradient(135deg, #f0fdf4 0%, #ecfdfa 100%);
    --border-color: #bbf7d0;
    --danger: #ef4444;
    --white: #ffffff;
}

/* BASE STYLE */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Plus Jakarta Sans', sans-serif; }
body { background: var(--bg-gradient); color: var(--brand-dark); line-height: 1.5; min-height: 100vh; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* NAVBAR */
.navbar { 
    background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100;
}
.nav-content { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; }
.logo-area { display: flex; align-items: center; gap: 12px; }
.logo-box { 
    width: 42px; height: 42px; background: var(--brand-green); border-radius: 12px; 
    color: white; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 20px; box-shadow: 0 4px 10px rgba(5, 150, 105, 0.2);
}
.brand-name { font-size: 1.25rem; font-weight: 800; color: #065f46; }
.btn-login-nav { 
    background: var(--brand-green); color: white; padding: 10px 18px; 
    border-radius: 10px; font-weight: 600; text-decoration: none; transition: 0.3s;
}

/* HERO SECTION */
.hero { text-align: center; padding: 60px 0 40px; }
.hero-title { font-size: 3rem; font-weight: 900; color: var(--brand-dark); margin-bottom: 10px; }
.status-badge { 
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px;
    background: white; border-radius: 50px; border: 2px solid var(--danger);
    color: var(--danger); font-weight: 700; box-shadow: 0 4px 15px rgba(239, 68, 68, 0.1);
}
.badge-available { border-color: var(--brand-green); color: var(--brand-green); }

/* MAIN GRID LAYOUT */
.grid-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; padding-bottom: 60px; }

/* CARDS */
.card { 
    background: rgba(255, 255, 255, 0.8); border: 1px solid var(--border-color); 
    border-radius: 24px; padding: 32px; backdrop-filter: blur(10px);
}

/* FORM ELEMENTS */
.form-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 24px; }
.section-label { font-weight: 700; color: var(--brand-green); margin: 25px 0 10px; display: block; font-size: 0.9rem; }
.row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.row-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.input-group { margin-bottom: 15px; }
.input-group label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; }
.input-group input, .input-group select, .input-group textarea {
    width: 100%; padding: 12px 16px; border-radius: 12px; border: 2px solid #d1fae5;
    outline: none; transition: 0.2s; font-size: 0.95rem; background: white;
}
.input-group input:focus { border-color: var(--brand-green); box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1); }

.btn-submit { 
    width: 100%; padding: 18px; border-radius: 16px; border: none; font-size: 1rem; 
    font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; 
    gap: 8px; margin-top: 20px; transition: 0.3s; background: var(--brand-green); color: white;
}
.btn-submit.disabled { background: #d1fae5; color: #a7f3d0; cursor: not-allowed; }

/* QUEUE SIDEBAR */
.editor-card { background: white; border: 1px solid var(--border-color); border-radius: 18px; padding: 16px; margin-bottom: 16px; }
.editor-header { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 8px; }
.progress-bar { height: 8px; background: #f0fdf4; border-radius: 10px; overflow: hidden; }
.progress-fill { height: 100%; transition: width 1s ease-in-out; }
.progress-fill.green { background: var(--brand-green); }
.progress-fill.red { background: var(--danger); }

/* ANIMATIONS */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }

.animate-up { animation: fadeInUp 0.8s ease-out forwards; }
.animate-down { animation: fadeInDown 0.6s ease-out forwards; }
.delay-1 { animation-delay: 0.2s; opacity: 0; }
.delay-2 { animation-delay: 0.4s; opacity: 0; }

/* KEEP LOGIN & DASHBOARD STYLE (Gak diubah) */
.login-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.login-box-card { background: white; padding: 40px; border-radius: 28px; width: 100%; max-width: 400px; text-align: center; border: 1px solid var(--border-color); }
.dashboard-layout { display: grid; grid-template-columns: 280px 1fr; gap: 20px; padding: 20px; }

.btn-login-nav {
        display: inline-block;
        padding: 8px 24px;
        background-color: #10b981; /* Warna hijau bawaan */
        color: white;
        text-decoration: none;
        border-radius: 12px;
        font-size: 0.8rem;
        font-weight: 700;
        transition: all 0.2s ease; /* Transisi halus */
        border: none;
        cursor: pointer;
        user-select: none;
    }

    /* Efek pas ditekan (Active) - Tombol jadi gelap & mengecil dikit */
    .btn-login-nav:active {
        background-color: #065f46 !important; /* Hijau yang jauh lebih gelap */
        transform: scale(0.95);             /* Efek ditekan (mengecil 5%) */
        transition: all 0.05s;              /* Respon kilat pas ditekan */
    }