* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #08090d;
    color: white;
    font-family: "Inter", sans-serif;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

button {
    display: block;
    margin: 30px auto;
    padding: 15px 35px;
    background: #7c3aed;
    color: white;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 0.2s,
        transform 0.2s,
        box-shadow 0.2s;
}

button:hover {
    background: #8b5cf6;
    transform: translateY(-2px);
}


/* ================================================= */
/* HERO */
/* ================================================= */

.heroSection {
    position: relative;
    width: 100%;
    min-height: 650px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #050507;
    border-bottom: 1px solid #292d3d;
}

.heroVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: #050507;
    z-index: 0;
}

.heroOverlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(5, 5, 7, 0.35) 0%,
            rgba(5, 5, 7, 0.55) 45%,
            rgba(5, 5, 7, 0.95) 100%
        ),
        radial-gradient(
            circle at center,
            rgba(124, 58, 237, 0.12),
            transparent 65%
        );
}

.heroContent {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 900px;
    text-align: center;
}


/* ================================================= */
/* LOGO VEXORAID */
/* ================================================= */

.heroContent .logo {
    display: block;
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin: 0 auto 20px;
    filter:
        drop-shadow(
            0 0 15px rgba(139, 92, 246, 0.45)
        );
}


/* ================================================= */
/* SYSTEM ONLINE */
/* ================================================= */

.onlineStatus {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    margin-bottom: 18px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 999px;
    color: #86efac;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.onlineStatus span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow:
        0 0 10px rgba(34, 197, 94, 0.8);
}


/* ================================================= */
/* VEXORAID TITLE */
/* ================================================= */

.heroContent h1 {
    margin: 0;
    color: white;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(52px, 9vw, 100px);
    font-weight: 800;
    letter-spacing: 5px;
    text-shadow:
        0 0 10px rgba(139, 92, 246, 0.35),
        0 0 30px rgba(139, 92, 246, 0.25),
        0 0 60px rgba(124, 58, 237, 0.15);
}

.heroContent p {
    margin: 12px 0 25px;
    color: #9ca3af;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 4px;
}


/* ================================================= */
/* SUPPORT BRANDING */
/* ================================================= */

.supportBranding {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 5px 0 25px;
}

.supportBranding > span {
    color: #717784;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.supportLogos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.supportLogos a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    padding: 6px;
    background: rgba(8, 10, 16, 0.75);
    border: 1px solid #292d3d;
    border-radius: 10px;
    overflow: hidden;
    transition:
        transform 0.2s,
        border-color 0.2s,
        box-shadow 0.2s;
}

.supportLogos a:hover {
    transform: translateY(-3px);
    border-color: #7c3aed;
    box-shadow:
        0 8px 25px rgba(124, 58, 237, 0.25);
}

.supportLogos img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* ================================================= */
/* RAZZ GARAGE */
/* ================================================= */

.supportLogos a:first-child img {
    width: 180%;
    height: 180%;
    max-width: none;
    max-height: none;
}


/* ================================================= */
/* GREAT GARAGE */
/* ================================================= */

.supportLogos a:last-child img {
    width: 100%;
    height: 100%;
}


/* ================================================= */
/* HERO BUTTONS */
/* ================================================= */

.heroButtons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.heroButtons button {
    min-width: 190px;
    margin: 0;
    padding: 14px 24px;
    border: 1px solid #6d28d9;
    border-radius: 10px;
    background: #7c3aed;
    color: white;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.heroButtons button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 10px 30px rgba(124, 58, 237, 0.25);
}

.heroButtons button:nth-child(1):hover {
    background: #8b5cf6;
    border-color: #8b5cf6;
    color: white;
}

.heroButtons button:nth-child(2) {
    background: rgba(17, 19, 26, 0.8);
    border-color: #292d3d;
    color: #d1d5db;
}

.heroButtons button:nth-child(2):hover {
    background: rgba(17, 19, 26, 0.8);
    border-color: #7c3aed;
    color: white;
}


/* ================================================= */
/* ADMIN ACCESS */
/* ================================================= */

.heroContent .adminAccess {
    display: block !important;
    width: 200px !important;
    height: 45px !important;
    margin: 20px auto !important;
    padding: 10px !important;
    background: rgba(17, 19, 26, 0.9) !important;
    color: #c4b5fd !important;
    border: 1px solid #4c1d95 !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    position: relative !important;
    z-index: 99999 !important;
    cursor: pointer !important;
}

.heroContent .adminAccess:hover {
    background: #7c3aed !important;
    color: white !important;
    border-color: #8b5cf6 !important;
    box-shadow:
        0 8px 25px rgba(124, 58, 237, 0.3);
}


/* ================================================= */
/* FORM ANTRIAN */
/* ================================================= */

#formAntrian {
    width: 90%;
    max-width: 650px;
    margin: 40px auto;
    padding: 30px;
    background:
        linear-gradient(
            145deg,
            #11131a,
            #090a0f
        );
    border: 1px solid #292d3d;
    border-radius: 18px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4);
}

#formAntrian label {
    display: block;
    margin-bottom: 8px;
    color: #d1d5db;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

#formAntrian input,
#formAntrian textarea {
    width: 100%;
    margin-bottom: 20px;
    padding: 13px 15px;
    background: #090a0f;
    color: white;
    border: 1px solid #292d3d;
    border-radius: 10px;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

#formAntrian input:focus,
#formAntrian textarea:focus {
    border-color: #7c3aed;
    box-shadow:
        0 0 0 3px rgba(124, 58, 237, 0.12);
}

#formAntrian textarea {
    min-height: 110px;
    resize: vertical;
}

#formAntrian button {
    width: 100%;
    margin: 10px 0 0;
    background: #7c3aed;
}


/* ================================================= */
/* ADMIN PANEL */
/* ================================================= */

#adminPanel {
    width: 90%;
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
    background:
        linear-gradient(
            145deg,
            #11131a,
            #090a0f
        );
    border: 1px solid #292d3d;
    border-radius: 18px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4);
}


/* ================================================= */
/* ADMIN HEADER */
/* ================================================= */

.adminHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.adminLabel {
    display: block;
    margin-bottom: 7px;
    color: #a78bfa;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.adminHeader h2 {
    margin-bottom: 7px;
    font-family: "Montserrat", sans-serif;
    font-size: 28px;
    letter-spacing: 1px;
}

.adminHeader p {
    margin-bottom: 0;
    color: #717784;
    font-size: 13px;
}

.adminOnline {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(34, 197, 94, 0.25);
    background: rgba(34, 197, 94, 0.08);
    border-radius: 999px;
    color: #86efac;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
}

.adminOnline span {
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow:
        0 0 10px rgba(34, 197, 94, 0.8);
}


/* ================================================= */
/* ADMIN LOGIN - TENGAH */
/* ================================================= */

.adminLogin {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 460px;
    margin: 25px auto;
}

.adminLogin input {
    width: 100% !important;
    min-width: 0 !important;
    padding: 14px 15px;
    box-sizing: border-box;
}

.adminLogin button {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 13px 20px;
}

.adminLogin input {
    flex: 1;
    min-width: 0;
    padding: 13px 15px;
    background: #090a0f;
    color: white;
    border: 1px solid #292d3d;
    border-radius: 10px;
    outline: none;
    font-family: inherit;
}

.adminLogin input:focus {
    border-color: #7c3aed;
    box-shadow:
        0 0 0 3px rgba(124, 58, 237, 0.12);
}

.adminLogin button {
    margin: 0;
    padding: 12px 20px;
    white-space: nowrap;
    font-size: 12px;
}


/* ================================================= */
/* ADMIN STATS */
/* ================================================= */

.adminStats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.statBox {
    padding: 18px;
    background: #090a0f;
    border: 1px solid #292d3d;
    border-radius: 12px;
}

.statBox span {
    display: block;
    margin-bottom: 8px;
    color: #717784;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.statBox strong {
    font-size: 25px;
    color: white;
}


/* ================================================= */
/* ADMIN CONTROLS */
/* ================================================= */

#adminControls {
    margin-top: 20px;
}

.adminControlsHeader {
    margin-bottom: 15px;
}

.adminControlsHeader span {
    color: #c4b5fd;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.adminControlsHeader p {
    margin: 5px 0 0;
    color: #717784;
    font-size: 12px;
}

.adminQueueItem {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 10px;
    padding: 15px;
    background: #090a0f;
    border: 1px solid #292d3d;
    border-radius: 12px;
}

.adminQueueInfo {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.adminQueueInfo strong {
    color: white;
    font-size: 14px;
}

.adminQueueInfo span {
    color: #d1d5db;
    font-size: 13px;
}

.adminQueueInfo small {
    color: #717784;
    font-size: 11px;
}

.adminQueueAction {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.adminQueueAction button {
    margin: 0;
    padding: 9px 13px;
    font-size: 10px;
    font-weight: 800;
}

.adminProcessButton {
    background: #ca8a04 !important;
}

.adminProcessButton:hover {
    background: #eab308 !important;
}

.adminCompleteButton {
    background: #16a34a !important;
}

.adminCompleteButton:hover {
    background: #22c55e !important;
}

.adminEmpty {
    padding: 20px;
    text-align: center;
    color: #717784;
    background: #090a0f;
    border: 1px solid #292d3d;
    border-radius: 12px;
    font-size: 13px;
}


/* ================================================= */
/* LOGOUT ADMIN */
/* ================================================= */

#logoutAdmin {
    width: 100%;
    margin: 20px 0 0;
    background: #181a22;
    border: 1px solid #292d3d;
    color: #9ca3af;
    font-size: 12px;
}

#logoutAdmin:hover {
    background: #7f1d1d;
    border-color: #991b1b;
    color: white;
}


/* ================================================= */
/* DAFTAR ANTRIAN */
/* ================================================= */

#daftarAntrian {
    width: 90%;
    max-width: 850px;
    margin: 30px auto;
}


/* ================================================= */
/* SEARCH */
/* ================================================= */

.antrianSearch {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.antrianSearch input,
.antrianSearch select {
    padding: 13px 15px;
    background: #11131a;
    color: white;
    border: 1px solid #292d3d;
    border-radius: 10px;
    outline: none;
    font-family: inherit;
    font-size: 13px;
}

.antrianSearch input {
    flex: 1;
    min-width: 0;
}

.antrianSearch select {
    width: 190px;
    cursor: pointer;
}

.antrianSearch input:focus,
.antrianSearch select:focus {
    border-color: #7c3aed;
    box-shadow:
        0 0 0 3px rgba(124, 58, 237, 0.12);
}


/* ================================================= */
/* QUEUE SECTION */
/* ================================================= */

#liveAntrian,
#riwayatAntrian {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 50px;
}

#liveAntrian h2,
#riwayatAntrian h2 {
    grid-column: 1 / -1;
    margin-bottom: -5px;
    color: white;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    letter-spacing: 0.5px;
}

#liveAntrian > p,
#riwayatAntrian > p {
    grid-column: 1 / -1;
    margin-top: -5px;
    margin-bottom: 5px;
    color: #717784;
    font-size: 12px;
}


/* ================================================= */
/* KARTU ANTRIAN */
/* ================================================= */

.kartuAntrian {
    padding: 18px;
    background:
        linear-gradient(
            145deg,
            #11131a,
            #090a0f
        );
    border: 1px solid #292d3d;
    border-radius: 15px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25);
    transition:
        transform 0.2s,
        border-color 0.2s,
        box-shadow 0.2s;
}

.kartuAntrian:hover {
    transform: translateY(-3px);
    border-color: #4c1d95;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.35);
}

.kartuHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}

.kartuHeader h3 {
    margin: 0;
    color: #c4b5fd;
    font-size: 16px;
    font-weight: 800;
}

.status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.status.menunggu {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #fca5a5;
}

.status.diproses {
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.25);
    color: #fde047;
}

.status.selesai {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #86efac;
}

.kartuNama {
    margin-bottom: 18px;
    color: white;
    font-size: 15px;
    font-weight: 700;
    word-break: break-word;
}

.kartuInfo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.kartuInfo > div {
    padding: 12px;
    background: #090a0f;
    border: 1px solid #292d3d;
    border-radius: 10px;
}

.kartuInfo span,
.kartuCatatan > span {
    display: block;
    margin-bottom: 5px;
    color: #717784;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.kartuInfo strong {
    color: #e9d5ff;
    font-size: 14px;
}

.kartuCatatan {
    padding-top: 13px;
    border-top: 1px solid #20232e;
}

.kartuCatatan p {
    margin: 0;
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.6;
    word-break: break-word;
}


/* ================================================= */
/* MOBILE */
/* ================================================= */

@media (max-width: 600px) {

    /* HERO */

    .heroSection {
        min-height: 700px;
        height: 100vh;
    }

    .heroContent {
        width: 92%;
    }


    /* LOGO VEXORAID */

    .heroContent .logo {
        width: 120px;
        height: 120px;
        margin-bottom: 16px;
    }


    /* SYSTEM */

    .onlineStatus {
        margin-bottom: 14px;
        padding: 6px 11px;
        font-size: 10px;
    }


    /* TITLE */

    .heroContent h1 {
        font-size: clamp(42px, 14vw, 70px);
        letter-spacing: 3px;
    }

    .heroContent p {
        margin: 10px 0 20px;
        font-size: 11px;
        letter-spacing: 2.5px;
    }


    /* SUPPORT */

    .supportBranding {
        gap: 7px;
        margin: 5px 0 22px;
    }

    .supportBranding > span {
        font-size: 8px;
        letter-spacing: 1.8px;
    }

    .supportLogos {
        gap: 9px;
    }

    .supportLogos a {
        width: 40px;
        height: 40px;
        padding: 5px;
        border-radius: 9px;
    }

    .supportLogos a:first-child img {
        width: 180%;
        height: 180%;
        max-width: none;
        max-height: none;
    }

    .supportLogos a:last-child img {
        width: 100%;
        height: 100%;
    }


    /* BUTTONS */

    .heroButtons {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .heroButtons button {
        width: 100%;
        min-width: 0;
        padding: 13px 20px;
    }

    .heroContent .adminAccess {
        width: 180px !important;
        height: 42px !important;
        margin: 16px auto !important;
        font-size: 11px !important;
    }


    /* FORM */

    #formAntrian {
        width: 92%;
        margin: 30px auto;
        padding: 20px;
    }


    /* ADMIN */

    #adminPanel {
        width: 92%;
        margin: 30px auto;
        padding: 20px;
    }

    .adminHeader {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .adminHeader h2 {
        font-size: 23px;
    }

    .adminOnline {
        font-size: 9px;
    }


    /* ADMIN LOGIN MOBILE */

    .adminLogin {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .adminLogin input,
    .adminLogin button {
        width: 100%;
    }

    .adminLogin button {
        margin: 0;
    }


    /* ADMIN STATS */

    .adminStats {
        grid-template-columns: 1fr 1fr;
    }

    .statBox {
        padding: 14px;
    }

    .statBox strong {
        font-size: 21px;
    }


    /* ADMIN QUEUE */

    .adminQueueItem {
        flex-direction: column;
        align-items: flex-start;
    }

    .adminQueueAction {
        width: 100%;
        justify-content: space-between;
    }

    .adminQueueAction button {
        flex: 1;
    }


    /* DAFTAR ANTRIAN */

    #daftarAntrian {
        width: 92%;
        margin: 35px auto;
    }


    /* SEARCH */

    .antrianSearch {
        flex-direction: column;
    }

    .antrianSearch select {
        width: 100%;
    }


    /* QUEUE MOBILE */

    #liveAntrian,
    #riwayatAntrian {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    #liveAntrian h2,
    #riwayatAntrian h2 {
        font-size: 18px;
    }


    /* QUEUE CARD MOBILE */

    .kartuAntrian {
        padding: 15px;
    }

    .kartuHeader h3 {
        font-size: 15px;
    }

    .kartuNama {
        font-size: 14px;
    }

    .kartuInfo {
        grid-template-columns: 1fr 1fr;
    }
}
/* ================================================= */
/* DETAIL ANTRIAN MODAL */
/* ================================================= */

.detailModal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(8px);
}

.detailModalContent {
    width: 100%;
    max-width: 460px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 25px;
    background:
        linear-gradient(
            145deg,
            #151720,
            #090a0f
        );
    border: 1px solid #4c1d95;
    border-radius: 18px;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.65),
        0 0 40px rgba(124, 58, 237, 0.12);
    animation: detailModalShow 0.2s ease;
}

@keyframes detailModalShow {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.detailModalHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 25px;
}

.detailModalHeader h2 {
    margin: 0;
    color: #c4b5fd;
    font-size: 22px;
    font-weight: 800;
}

.detailModalClose {
    width: 35px !important;
    height: 35px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #181a22 !important;
    border: 1px solid #292d3d !important;
    color: #9ca3af !important;
    border-radius: 8px !important;
    font-size: 18px !important;
    line-height: 1;
}

.detailModalClose:hover {
    background: #7f1d1d !important;
    border-color: #991b1b !important;
    color: white !important;
}

.detailNumber {
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: 12px;
    text-align: center;
}

.detailNumber span {
    display: block;
    margin-bottom: 5px;
    color: #717784;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.detailNumber strong {
    color: #c4b5fd;
    font-size: 20px;
}

.detailRow {
    margin-bottom: 12px;
    padding: 13px 15px;
    background: #090a0f;
    border: 1px solid #292d3d;
    border-radius: 10px;
}

.detailRow span {
    display: block;
    margin-bottom: 5px;
    color: #717784;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.detailRow strong {
    color: white;
    font-size: 14px;
    word-break: break-word;
}

.detailNote {
    min-height: 70px;
    color: #9ca3af !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.6;
    white-space: pre-wrap;
}

.detailStatus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px;
}

.detailStatus.menunggu {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #fca5a5 !important;
}

.detailStatus.diproses {
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.25);
    color: #fde047 !important;
}

.detailStatus.selesai {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #86efac !important;
}
/* Kartu bisa diklik */

.kartuAntrian {
    cursor: pointer;
}

/* MOBILE */

@media (max-width: 600px) {

    .detailModal {
        padding: 15px;
    }

    .detailModalContent {
        max-width: 100%;
        padding: 20px;
        border-radius: 15px;
    }

    .detailModalHeader h2 {
        font-size: 19px;
    }

    .detailNumber strong {
        font-size: 18px;
    }

    .riwayatWaktu div {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .riwayatWaktu strong {
        text-align: left;
        font-size: 10px;
    }

    .adminQueueItem {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .adminQueueAction {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .adminQueueAction button {
        width: 100%;
        margin: 0;
    }

    .adminQueueAction .status {
        align-self: flex-start;
    }

    #formAntrian {
        width: 100%;
        box-sizing: border-box;
        padding: 18px;
    }

    #formAntrian input,
    #formAntrian textarea,
    #formAntrian button {
        width: 100%;
        box-sizing: border-box;
    }

    #formAntrian input,
    #formAntrian textarea {
        font-size: 14px;
        padding: 12px;
    }

    #formAntrian textarea {
        min-height: 100px;
        resize: vertical;
    }

    #formAntrian button {
        min-height: 45px;
        margin-top: 8px;
    }

#daftarAntrian {
    width: 94%;
    margin: 35px auto;
}

#liveAntrian,
#riwayatAntrian {
    gap: 10px;
}

.kartuHeader {
    flex-wrap: wrap;
    gap: 6px;
}

.kartuHeader h3 {
    font-size: 14px;
}

.kartuNama {
    font-size: 14px;
    margin-bottom: 14px;
}

.status {
    font-size: 9px;
    padding: 5px 8px;
}
.progressAntrian {
    margin: 25px 0 10px !important;
    padding: 5px 0 !important;
}

.progressStep {
    width: 75px !important;
    min-width: 75px !important;
}

.progressCircle {
    width: 28px !important;
    height: 28px !important;
    font-size: 11px !important;
}

.progressLabel {
    font-size: 8px !important;
    margin-top: 6px !important;
}

.progressLine {
    margin-top: 13px !important;
}
.detailModalContent button {
    width: 100%;
    min-height: 44px;
    margin-top: 10px;
    box-sizing: border-box;
}

.detailModalContent .detailGrid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
}

.detailModalContent .detailItem {
    padding: 10px !important;
}

.detailModalContent .detailItem span {
    font-size: 9px !important;
}

.detailModalContent .detailItem strong {
    font-size: 11px !important;
}
}

/* ============================= */
/* PROGRESS STATUS ANTRIAN */
/* ============================= */

.progressAntrian {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    margin: 25px 0 10px;
}

.progressStep {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 110px;
    color: #555b68;
}

.progressCircle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 2px solid #292d3d;
    border-radius: 50%;
    background: #090a0f;
    color: #717784;
    font-size: 13px;
    font-weight: 800;
    position: relative;
    z-index: 2;
}

.progressLabel {
    margin-top: 8px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-align: center;
}

.progressLine {
    flex: 1;
    height: 2px;
    margin-top: 14px;
    background: #292d3d;
}

/* Status aktif / selesai */

.progressStep.active .progressCircle,
.progressStep.completed .progressCircle {
    background: #7c3aed;
    border-color: #8b5cf6;
    color: white;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.35);
}

.progressStep.active .progressLabel,
.progressStep.completed .progressLabel {
    color: #c4b5fd;
}

.progressLine.completed {
    background: #7c3aed;
}

/* Status selesai */

.progressStep.completed .progressCircle {
    background: #16a34a;
    border-color: #22c55e;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.25);
}

.progressStep.completed .progressLabel {
    color: #86efac;
}

/* Mobile */

@media (max-width: 600px) {

    .progressAntrian {
        margin-top: 20px;
    }

    .progressStep {
        width: 85px;
    }

    .progressCircle {
        width: 27px;
        height: 27px;
        font-size: 11px;
    }

    .progressLabel {
        font-size: 8px;
    }

    .progressLine {
        margin-top: 12px;
    }
}
/* PROGRESS STATUS ANTRIAN */

.progressAntrian {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 70px !important;
    margin: 30px 0 10px !important;
    padding: 10px 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.progressStep {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100px !important;
    min-width: 100px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.progressCircle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border: 2px solid #7c3aed !important;
    border-radius: 50% !important;
    background: #090a0f !important;
    color: white !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.progressLabel {
    display: block !important;
    margin-top: 8px !important;
    color: #c4b5fd !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    text-align: center !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.progressLine {
    display: block !important;
    flex: 1 !important;
    height: 3px !important;
    margin-top: 15px !important;
    background: #292d3d !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.progressLine.completed {
    background: #7c3aed !important;
}

.progressStep.completed .progressCircle {
    background: #16a34a !important;
    border-color: #22c55e !important;
}

.progressStep.completed .progressLabel {
    color: #86efac !important;
}
/* ================================================= */
/* WAKTU RIWAYAT ANTRIAN */
/* ================================================= */

.riwayatWaktu {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #292d3d;
}

.riwayatWaktu div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 8px 10px;
    background: #090a0f;
    border-radius: 8px;
}

.riwayatWaktu span {
    color: #717784;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.riwayatWaktu strong {
    color: #c4b5fd;
    font-size: 10px;
    font-weight: 700;
    text-align: right;
}
/* =========================
   FORM HEADER
========================= */

.formHeader {
    margin-bottom: 28px;
}

.formHeader h2 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
}

.formHeader p {
    margin: 0;
    font-size: 14px;
    color: #9d9daf;
    line-height: 1.6;
}

/* =========================
   FOOTER
========================= */

.siteFooter {
    width: 90%;
    max-width: 850px;
    margin: 40px auto 0;
    padding: 35px 20px 25px;
    text-align: center;
    border-top: 1px solid #292d3d;
    color: #717784;
}

.footerLogo {
    margin-bottom: 8px;
    color: #c4b5fd;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
}

.siteFooter p {
    margin: 0 0 18px;
    color: #717784;
    font-size: 12px;
}

.footerLinks {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 12px;
}

.footerLinks a {
    color: #a78bfa;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footerLinks a:hover {
    color: #c4b5fd;
}

.footerCopy {
    color: #4f5563;
    font-size: 11px;
}
/* =========================
   ADMIN LOGIN FIX
========================= */

.adminLogin input {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

.adminLogin button {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 150px !important;
}

@media (max-width: 600px) {

    .adminLogin {
        flex-direction: column;
        width: 100%;
    }

    .adminLogin input,
    .adminLogin button {
        width: 100% !important;
    }

}
/* FIX HERO BUTTON CLICK */
.heroButtons {
    position: relative;
    z-index: 20;
    pointer-events: auto;
}

.heroButtons button {
    position: relative;
    z-index: 21;
    pointer-events: auto;
    cursor: pointer;
}