body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f8fafc;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- Auth Card Styles --- */
#auth-demo-section {
    min-height: calc(100vh - 4rem);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.5rem;
}
#auth-demo-section .auth-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    width: 92%;
    max-width: 450px;
    border-radius: 2rem;
    overflow: hidden;
    transition: all 0.5s ease;
}
@media (min-width: 768px) {
    #auth-demo-section .auth-card { border-radius: 2.5rem; width: 100%; }
}
#auth-demo-section .input-group input {
    transition: all 0.3s ease;
    border: 2px solid #f1f5f9;
    font-size: 16px;
}
#auth-demo-section .input-group input:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
#auth-demo-section .toggle-btn {
    position: relative;
    background: #f1f5f9;
    border-radius: 1rem;
    padding: 5px;
    display: flex;
    margin-bottom: 1.5rem;
}
#auth-demo-section .toggle-btn button {
    flex: 1;
    padding: 12px 10px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 1;
    transition: color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}
#auth-demo-section .toggle-btn .active-bg {
    position: absolute;
    top: 5px;
    left: 5px;
    width: calc(50% - 5px);
    height: calc(100% - 10px);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-radius: 0.75rem;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
#auth-demo-section .hidden-form { display: none; }
#auth-demo-section .btn-primary {
    background: #0f172a;
    color: white;
    padding: 1rem;
    border-radius: 1.25rem;
    font-weight: 800;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.2);
    -webkit-tap-highlight-color: transparent;
}
#auth-demo-section .btn-primary:active { transform: scale(0.98); }
@media (min-width: 768px) {
    #auth-demo-section .btn-primary:hover {
        background: #2563eb;
        transform: translateY(-2px);
        box-shadow: 0 10px 20px -3px rgba(37, 99, 235, 0.3);
    }
}

/* --- PBG Form Styles --- */
#pbg-form-demo-section {
    font-family: 'Inter', sans-serif;
    background-color: #f1f5f9;
    padding-top: 2rem;
    padding-bottom: 2rem;
}
#pbg-form-demo-section .step-active { color: #2563eb; border-bottom-color: #2563eb; background-color: rgba(37, 99, 235, 0.05); }
#pbg-form-demo-section .step-inactive { color: #94a3b8; border-bottom-color: #e2e8f0; }
#pbg-form-demo-section .form-section { display: none; }
#pbg-form-demo-section .form-section.active { display: block; }
#pbg-form-demo-section .clickable-step { cursor: pointer; transition: all 0.2s; }
#pbg-form-demo-section .clickable-step:hover { background-color: #f8fafc; color: #64748b; }

/* --- Status Verifikasi Styles --- */
#status-verifikasi-demo-section {
    font-family: 'Inter', sans-serif;
    background-color: #f1f5f9;
    padding-top: 2rem;
    padding-bottom: 2rem;
}
#status-verifikasi-demo-section .status-pill { padding: 4px 12px; border-radius: 9999px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
#status-verifikasi-demo-section .status-waiting { background-color: #fef3c7; color: #92400e; }
#status-verifikasi-demo-section .status-process { background-color: #dbeafe; color: #1e40af; }
#status-verifikasi-demo-section .status-success { background-color: #dcfce7; color: #166534; }
#status-verifikasi-demo-section .timeline-item { border-left: 2px solid #e2e8f0; padding-left: 24px; position: relative; margin-bottom: 24px; }
#status-verifikasi-demo-section .timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #2563eb;
}
#status-verifikasi-demo-section .timeline-item.completed::before { background-color: #2563eb; }
#status-verifikasi-demo-section .timeline-item.active::before { background-color: #f59e0b; border-color: #f59e0b; }

/* --- Sertifikat Terbit Styles --- */
#sertifikat-terbit-demo-section {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #fdfdfe;
}
#sertifikat-terbit-demo-section .bg-pattern {
    background-color: #f8fafc;
    background-image: radial-gradient(#cbd5e1 0.5px, transparent 0.5px);
    background-size: 24px 24px;
}
#sertifikat-terbit-demo-section .cert-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
#sertifikat-terbit-demo-section .cert-card:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.05), 0 8px 10px -6px rgb(0 0 0 / 0.05); }

/* --- Lacak Permohonan Styles --- */
#lacak-permohonan-demo-section {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    min-height: calc(100vh - 4rem);
}
#lacak-permohonan-demo-section .glass-morphism {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* General utility */
.hidden-section { display: none; }

/* Navigation */
.demo-nav {
    background-color: #1a202c;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.demo-nav .nav-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.demo-nav .nav-btn {
    background-color: #2d3748;
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.8rem;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}
.demo-nav .nav-btn.active,
.demo-nav .nav-btn:hover {
    background-color: #2563eb;
}
.demo-nav .nav-brand {
    color: white;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    padding-right: 0.75rem;
    border-right: 1px solid #4a5568;
    margin-right: 0.25rem;
}

/* Locked nav button style */
.demo-nav #nav-demo-links.hidden + * {
    display: none;
}
