/* =========================================================
   CANDY PHOTOBOOTH - MAIN BOOTH MASTER CSS
   Signature style untuk halaman booth utama
========================================================= */

/* =========================================================
   01. ROOT
========================================================= */

:root {
    --pb-primary: #6d5dfc;
    --pb-primary-dark: #5142e8;
    --pb-primary-soft: rgba(109, 93, 252, .12);

    --pb-candy: #ec4899;
    --pb-candy-soft: rgba(236, 72, 153, .12);

    --pb-sky: #0ea5e9;
    --pb-sky-soft: rgba(14, 165, 233, .12);

    --pb-mint: #22c55e;
    --pb-mint-soft: rgba(34, 197, 94, .12);

    --pb-dark: #101828;
    --pb-text: #344054;
    --pb-muted: #667085;
    --pb-border: #eaecf0;
    --pb-soft: #f8fafc;
    --pb-white: #ffffff;

    --pb-radius-sm: 14px;
    --pb-radius: 22px;
    --pb-radius-lg: 32px;
    --pb-radius-pill: 999px;

    --pb-shadow-sm: 0 10px 26px rgba(16, 24, 40, .05);
    --pb-shadow: 0 24px 70px rgba(16, 24, 40, .10);
    --pb-shadow-hover: 0 28px 80px rgba(109, 93, 252, .18);

    --pb-glass: rgba(255, 255, 255, .78);
    --pb-glass-strong: rgba(255, 255, 255, .88);
    --pb-glass-border: rgba(234, 236, 240, .9);

    --pb-font: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* =========================================================
   02. BASE
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: var(--pb-font);
    color: var(--pb-dark);
    background:
        radial-gradient(circle at 10% 8%, rgba(109, 93, 252, .18), transparent 30%),
        radial-gradient(circle at 88% 14%, rgba(236, 72, 153, .15), transparent 28%),
        radial-gradient(circle at 48% 100%, rgba(14, 165, 233, .11), transparent 34%),
        linear-gradient(135deg, #f8fafc 0%, #eef2ff 52%, #fff1f7 100%);
    overflow-x: hidden;
    isolation: isolate;
}

a {
    text-decoration: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

/* =========================================================
   03. SIGNATURE BACKGROUND
========================================================= */

.pb-bg-grid {
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(109, 93, 252, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(109, 93, 252, .045) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.pb-bg-candy-line {
    position: fixed;
    inset: auto 0 0 0;
    z-index: -2;
    height: 34vh;
    pointer-events: none;
    background:
        linear-gradient(120deg, transparent 0 24%, rgba(109, 93, 252, .08) 24% 26%, transparent 26% 47%, rgba(236, 72, 153, .08) 47% 49%, transparent 49% 100%);
    opacity: .85;
}

.pb-bg-orb {
    position: fixed;
    z-index: -1;
    border-radius: var(--pb-radius-pill);
    pointer-events: none;
    filter: blur(10px);
    opacity: .75;
}

.pb-bg-orb.is-purple {
    width: 190px;
    height: 190px;
    left: 5%;
    top: 18%;
    background: rgba(109, 93, 252, .16);
    animation: pbFloatOrb 9s ease-in-out infinite;
}

.pb-bg-orb.is-pink {
    width: 260px;
    height: 260px;
    right: 4%;
    bottom: 9%;
    background: rgba(236, 72, 153, .14);
    animation: pbFloatOrb 11s ease-in-out infinite reverse;
}

.pb-bg-orb.is-blue {
    width: 120px;
    height: 120px;
    left: 48%;
    top: 8%;
    background: rgba(14, 165, 233, .13);
    animation: pbFloatOrbSmall 7s ease-in-out infinite;
}

/* =========================================================
   04. APP LAYOUT
========================================================= */

.pb-app {
    position: relative;
    z-index: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =========================================================
   FULL SCREEN BOOTH WORKSPACE
   Card mengikuti lebar dan tinggi layar
========================================================= */

.pb-main {
    min-height: calc(100vh - 76px - 58px);
    padding: 10px;
    display: flex;
    align-items: stretch;
}

.pb-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: flex;
}

.booth-workspace.active {
    width: 100%;
    display: flex;
}

.booth-box {
    width: 100%;
    min-height: calc(100vh - 76px - 58px - 48px);
    padding: 32px;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
}

.booth-step.active {
    width: 100%;
    height: 100%;
}

.booth-toolbar {
    flex: 0 0 auto;
}

#stepTemplate,
#stepCamera,
#stepSelect,
#stepFinal {
    min-height: 100%;
}

/* Khusus step pilih foto supaya isi card melebar */
#stepSelect {
    display: none;
    flex-direction: column;
}

#stepSelect.active {
    display: flex;
}

#selectCaptureList {
    flex: 1;
    align-content: flex-start;
}

/* Foto select mengikuti ruang layar */
#selectCaptureList .col-md-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
}

.select-card {
    height: 100%;
    border-radius: 22px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(234, 236, 240, .95);
    box-shadow: var(--pb-shadow-sm);
    padding: 10px;
}

.select-card .position-relative {
    border-radius: 18px;
    overflow: hidden;
    background: #000;
}

.select-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px;
}

#btnSaveSelection {
    flex: 0 0 auto;
    margin-top: 24px !important;
    min-height: 58px;
    border-radius: 18px;
    font-size: 16px;
}

.pb-footer {
    position: relative;
    z-index: 2;
    padding: 18px 28px 24px;
    text-align: center;
    color: var(--pb-muted);
    font-size: 13px;
}

/* =========================================================
   05. NAVBAR
========================================================= */

.pb-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 76px;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    /* border-bottom: 1px solid var(--pb-glass-border);
    background: rgba(255, 255, 255, .74);
    backdrop-filter: blur(18px); */
    animation: pbFadeDown .7s ease both;
}

.pb-brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.pb-brand-logo {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    border-radius: 16px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(234, 236, 240, .95);
    box-shadow: var(--pb-shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pb-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 7px;
}

.pb-brand-text {
    min-width: 0;
    line-height: 1.2;
}

.pb-brand-text h5 {
    margin: 0;
    color: var(--pb-dark);
    font-size: 18px;
    font-weight: 950;
    letter-spacing: -.4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pb-brand-text span {
    display: block;
    max-width: 320px;
    color: var(--pb-muted);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pb-status {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

/* =========================================================
   06. PILLS / BADGES
========================================================= */

.pb-pill {
    min-height: 38px;
    padding: 9px 14px;
    border-radius: var(--pb-radius-pill);
    border: 1px solid rgba(234, 236, 240, .95);
    background: rgba(255, 255, 255, .78);
    color: var(--pb-muted);
    box-shadow: var(--pb-shadow-sm);
    backdrop-filter: blur(16px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 850;
    transition: .22s ease;
}

.pb-pill:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .95);
    color: var(--pb-primary);
}

.pb-pill svg {
    width: 15px;
    height: 15px;
    stroke-width: 2.6;
    color: var(--pb-primary);
}

.pb-live-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--pb-radius-pill);
    background: var(--pb-mint);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .45);
    animation: pbLivePulse 1.6s ease-in-out infinite;
}

/* =========================================================
   07. CARD
========================================================= */

.pb-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--pb-radius-lg);
    border: 1px solid var(--pb-glass-border);
    background: var(--pb-glass);
    box-shadow: var(--pb-shadow);
    backdrop-filter: blur(22px);
}

.pb-card::before {
    content: "";
    position: absolute;
    inset: -55%;
    background: linear-gradient(115deg,
            transparent 35%,
            rgba(255, 255, 255, .42),
            transparent 55%);
    opacity: 0;
    pointer-events: none;
}

.pb-card:hover::before {
    opacity: 1;
    animation: pbCardShine 1.4s ease;
}

.pb-card-body {
    position: relative;
    z-index: 2;
    padding: 26px;
}

.pb-panel {
    border-radius: var(--pb-radius);
    border: 1px solid var(--pb-border);
    background: rgba(255, 255, 255, .72);
    box-shadow: var(--pb-shadow-sm);
    padding: 18px;
}

.pb-panel-title {
    color: var(--pb-dark);
    font-size: 18px;
    font-weight: 950;
    margin-bottom: 4px;
}

.pb-panel-desc {
    color: var(--pb-muted);
    font-size: 13px;
    margin-bottom: 0;
}

/* =========================================================
   08. BUTTON
========================================================= */

.pb-btn {
    min-height: 52px;
    border-radius: 18px;
    padding: 14px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 900;
    line-height: 1;
    transition: .22s ease;
}

.pb-btn svg {
    width: 17px;
    height: 17px;
    stroke-width: 2.6;
}

.pb-btn-primary {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--pb-primary), var(--pb-candy));
    box-shadow: 0 16px 38px rgba(109, 93, 252, .25);
    position: relative;
    overflow: hidden;
}

.pb-btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: skewX(-18deg);
    transition: .6s ease;
}

.pb-btn-primary:hover::before {
    left: 130%;
}

.pb-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 20px 48px rgba(109, 93, 252, .34);
}

.pb-btn-light {
    border: 1px solid rgba(234, 236, 240, .9);
    color: var(--pb-dark);
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(16px);
}

.pb-btn-light:hover {
    color: var(--pb-primary);
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(16, 24, 40, .08);
}

.pb-btn-soft {
    border: 1px solid rgba(109, 93, 252, .18);
    color: var(--pb-primary);
    background: rgba(109, 93, 252, .10);
}

.pb-btn-soft:hover {
    color: #fff;
    background: var(--pb-primary);
    transform: translateY(-2px);
}



/* Karena CSS native tidak support composes, tetap disiapkan fallback */
.btn-booth-primary,
.btn-booth-light {
    min-height: 52px;
    border-radius: 18px;
    padding: 14px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 900;
    transition: .22s ease;
}

.btn-booth-primary {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--pb-primary), var(--pb-candy));
    box-shadow: 0 16px 38px rgba(109, 93, 252, .25);
}

.btn-booth-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 20px 48px rgba(109, 93, 252, .34);
}

.btn-booth-light {
    border: 1px solid rgba(234, 236, 240, .9);
    color: var(--pb-dark);
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(16px);
}

.btn-booth-light:hover {
    color: var(--pb-primary);
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(16, 24, 40, .08);
}

/* =========================================================
   09. FORM
========================================================= */

.pb-form-control,
.pb-form-select,
.form-control-booth,
.form-select-booth {
    height: 58px;
    border-radius: 18px;
    border: 1px solid rgba(234, 236, 240, .95);
    background: rgba(255, 255, 255, .82);
    color: var(--pb-dark);
    padding: 0 18px;
    box-shadow: none !important;
    transition: .22s ease;
}

.pb-form-control::placeholder,
.form-control-booth::placeholder {
    color: #98a2b3;
}

.pb-form-control:focus,
.pb-form-select:focus,
.form-control-booth:focus,
.form-select-booth:focus {
    background: #fff;
    color: var(--pb-dark);
    border-color: rgba(109, 93, 252, .65);
    box-shadow: 0 0 0 .25rem rgba(109, 93, 252, .12) !important;
    transform: translateY(-1px);
}

.pb-form-select option,
.form-select-booth option {
    color: #111827;
}

.pb-input-label {
    color: var(--pb-muted);
    font-size: 13px;
    font-weight: 850;
    margin-bottom: 7px;
}

/* =========================================================
   10. BOOTH SPECIAL COMPONENTS
========================================================= */

.pb-hero-title {
    color: var(--pb-dark);
    font-size: clamp(30px, 5vw, 58px);
    font-weight: 950;
    letter-spacing: -1.8px;
    line-height: 1;
    margin-bottom: 12px;
}

.pb-hero-title .is-candy {
    background: linear-gradient(135deg, var(--pb-primary), var(--pb-candy), var(--pb-sky));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pb-hero-desc {
    max-width: 680px;
    color: var(--pb-muted);
    font-size: 16px;
    line-height: 1.7;
}

.pb-camera-shell {
    position: relative;
    border-radius: 34px;
    padding: 12px;
    background:
        linear-gradient(135deg, rgba(109, 93, 252, .20), rgba(236, 72, 153, .18)),
        rgba(255, 255, 255, .70);
    border: 1px solid rgba(255, 255, 255, .72);
    box-shadow: 0 30px 90px rgba(16, 24, 40, .16);
}

.pb-camera-frame {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #090b16;
    aspect-ratio: 4 / 3;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.pb-camera-frame video,
.pb-camera-frame canvas,
.pb-camera-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #090b16;
}

.pb-camera-frame.is-contain video,
.pb-camera-frame.is-contain canvas,
.pb-camera-frame.is-contain img {
    object-fit: contain;
}

.pb-countdown {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: clamp(72px, 14vw, 180px);
    font-weight: 950;
    text-shadow: 0 18px 55px rgba(0, 0, 0, .55);
    background: radial-gradient(circle at center, rgba(109, 93, 252, .18), rgba(0, 0, 0, .42));
}

.pb-floating-action {
    width: 126px;
    height: 126px;
    border: 0;
    border-radius: var(--pb-radius-pill);
    background:
        radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .45), transparent 28%),
        linear-gradient(135deg, var(--pb-primary), var(--pb-candy));
    color: #fff;
    box-shadow: 0 28px 80px rgba(236, 72, 153, .35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: .25s ease;
    animation: pbCandyPulse 1.9s ease-in-out infinite;
}

.pb-floating-action:hover {
    transform: scale(1.06);
    box-shadow: 0 36px 95px rgba(236, 72, 153, .48);
}

.pb-floating-action svg {
    width: 50px;
    height: 50px;
}

.pb-step-list {
    display: grid;
    gap: 12px;
}

.pb-step-item {
    border: 1px solid var(--pb-border);
    border-radius: var(--pb-radius);
    background: rgba(255, 255, 255, .72);
    padding: 14px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.pb-step-number {
    width: 34px;
    height: 34px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--pb-primary), var(--pb-candy));
    color: #fff;
    font-size: 14px;
    font-weight: 950;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.pb-step-text strong {
    display: block;
    color: var(--pb-dark);
    font-size: 14px;
    font-weight: 950;
    margin-bottom: 2px;
}

.pb-step-text span {
    display: block;
    color: var(--pb-muted);
    font-size: 12px;
}

/* =========================================================
   11. MODAL / SWEETALERT STACKING FIX
========================================================= */

.modal-backdrop {
    z-index: 1040 !important;
}

.modal {
    z-index: 1060 !important;
}

.modal-dialog,
.modal-content {
    position: relative;
    z-index: 1061 !important;
}

.swal2-container {
    z-index: 3000 !important;
}

/* =========================================================
   12. RESPONSIVE
========================================================= */

@media (max-width: 991px) {
    .pb-main {
        padding: 10px;
    }

    .pb-card-body {
        padding: 22px;
    }
}

@media (max-width: 768px) {
    .pb-navbar {
        height: auto;
        padding: 16px;
        gap: 14px;
        flex-direction: column;
        align-items: flex-start;
    }

    .pb-status {
        width: 100%;
        justify-content: flex-start;
    }

    .pb-pill {
        min-height: 36px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .pb-main {
        padding: 10px;
    }

    .pb-brand-text h5 {
        font-size: 16px;
    }

    .pb-brand-text span {
        max-width: 260px;
    }

    .pb-card {
        border-radius: 24px;
    }

    .pb-camera-shell {
        border-radius: 26px;
        padding: 8px;
    }

    .pb-camera-frame {
        border-radius: 20px;
    }

    .pb-floating-action {
        width: 104px;
        height: 104px;
    }

    .pb-floating-action svg {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 480px) {
    .pb-status .pb-pill:last-child {
        display: none;
    }

    .pb-brand-text span {
        max-width: 220px;
    }

    .pb-card-body {
        padding: 18px;
    }

    .pb-btn,
    .btn-booth-primary,
    .btn-booth-light {
        width: 100%;
    }
}

/* =========================================================
   13. ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* =========================================================
   14. ANIMATION
========================================================= */

@keyframes pbFadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pbFadeDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pbFloatOrb {

    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(22px, -28px, 0) scale(1.08);
    }
}

@keyframes pbFloatOrbSmall {

    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(-18px, 18px, 0);
    }
}

@keyframes pbLivePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, .45);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
}

@keyframes pbCardShine {
    0% {
        transform: translateX(-35%);
    }

    100% {
        transform: translateX(35%);
    }
}

@keyframes pbCandyPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 28px 80px rgba(236, 72, 153, .35);
    }

    50% {
        transform: scale(1.045);
        box-shadow: 0 34px 92px rgba(109, 93, 252, .42);
    }
}

/* =========================================================
   15. BOOTH EVENT PAGE
   Dipakai oleh app/Views/booth/index.php
========================================================= */

.booth-event-page {
    width: 100%;
    min-height: calc(100vh - 76px - 58px);
}

/* Theme variation dari database */
.booth-event-page.theme-candy {
    --booth-card-blur: 22px;
    --booth-card-opacity: .78;
}

.booth-event-page.theme-elegant {
    --booth-card-blur: 18px;
    --booth-card-opacity: .84;
}

.booth-event-page.theme-fun {
    --booth-card-blur: 24px;
    --booth-card-opacity: .76;
}

.booth-event-page.theme-corporate {
    --booth-card-blur: 14px;
    --booth-card-opacity: .90;
}

.booth-event-page.theme-dark {
    --pb-dark: #f8fafc;
    --pb-text: #e5e7eb;
    --pb-muted: #cbd5e1;
    --pb-soft: rgba(255, 255, 255, .08);
    --pb-glass: rgba(15, 23, 42, .78);
    --pb-glass-border: rgba(255, 255, 255, .12);
    --booth-card-blur: 22px;
    --booth-card-opacity: .82;
}

.booth-event-page.layout-centered .booth-box {
    max-width: 1080px;
    margin: 0 auto;
}

.booth-event-page.layout-fullscreen .booth-start-screen,
.booth-event-page.layout-fullscreen .booth-box {
    min-height: calc(100vh - 160px);
}

.booth-event-page.layout-minimal .booth-box,
.booth-event-page.layout-minimal .template-card,
.booth-event-page.layout-minimal .final-side-panel {
    box-shadow: 0 12px 34px rgba(16, 24, 40, .07);
}

/* =========================================================
   BOOTH STEP
========================================================= */

.booth-step,
.booth-workspace {
    display: none;
}

.booth-step.active,
.booth-workspace.active {
    display: block;
    animation: boothStepIn .25s ease both;
}

.booth-workspace.active {
    width: 100%;
}

.booth-step.active {
    width: 100%;
    height: 100%;
}

#stepTemplate,
#stepCamera,
#stepSelect,
#stepFinal {
    min-height: 100%;
}

#stepSelect.active {
    display: flex;
    flex-direction: column;
}

#selectCaptureList {
    flex: 1;
    align-content: flex-start;
}

@keyframes boothStepIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   START SCREEN
========================================================= */

.booth-start-screen {
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.booth-start-card {
    width: min(980px, 100%);
    position: relative;
    overflow: hidden;
    border-radius: 36px;
    border: 1px solid var(--pb-glass-border);
    background:
        radial-gradient(circle at top right, rgba(236, 72, 153, .18), transparent 34%),
        radial-gradient(circle at bottom left, rgba(14, 165, 233, .12), transparent 34%),
        rgba(255, 255, 255, var(--booth-card-opacity, .78));
    box-shadow: var(--pb-shadow);
    backdrop-filter: blur(var(--booth-card-blur, 22px));
    padding: 34px;
}

.theme-dark .booth-start-card {
    background:
        radial-gradient(circle at top right, rgba(236, 72, 153, .20), transparent 34%),
        radial-gradient(circle at bottom left, rgba(14, 165, 233, .14), transparent 34%),
        rgba(15, 23, 42, .78);
}

.booth-start-cover {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: .18;
}

.booth-start-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.15) contrast(1.05);
}

.booth-start-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .86)),
        radial-gradient(circle at top right, rgba(236, 72, 153, .22), transparent 38%);
}

.theme-dark .booth-start-cover::after {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, .76), rgba(15, 23, 42, .88)),
        radial-gradient(circle at top right, rgba(236, 72, 153, .18), transparent 38%);
}

.booth-start-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
}

.booth-event-badge {
    width: fit-content;
    min-height: 38px;
    margin: 0 auto 18px;
    padding: 8px 14px;
    border-radius: var(--pb-radius-pill);
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(234, 236, 240, .95);
    color: var(--pb-primary);
    font-size: 13px;
    font-weight: 950;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--pb-shadow-sm);
    backdrop-filter: blur(16px);
}

.theme-dark .booth-event-badge {
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .14);
    color: #fff;
}

.booth-event-badge svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.6;
}

.booth-start-title {
    color: var(--pb-dark);
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -1.8px;
    margin-bottom: 12px;
}

.booth-start-title .is-candy {
    background: linear-gradient(135deg, var(--pb-primary), var(--pb-candy), var(--pb-sky));
    background-size: 220% 220%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: boothGradientMove 4s ease-in-out infinite;
}

.booth-start-desc {
    max-width: 620px;
    margin: 0 auto 26px;
    color: var(--pb-muted);
    font-size: 16px;
    line-height: 1.7;
}

.booth-event-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.booth-event-chip {
    min-height: 36px;
    padding: 8px 12px;
    border-radius: var(--pb-radius-pill);
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(234, 236, 240, .95);
    color: var(--pb-muted);
    font-size: 13px;
    font-weight: 850;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(16px);
}

.theme-dark .booth-event-chip {
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .14);
    color: #e5e7eb;
}

.booth-event-chip svg {
    width: 15px;
    height: 15px;
    color: var(--pb-primary);
    stroke-width: 2.5;
}

.start-camera-btn {
    width: 126px;
    height: 126px;
    border: 0;
    border-radius: var(--pb-radius-pill);
    background:
        radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .45), transparent 30%),
        linear-gradient(135deg, var(--pb-primary), var(--pb-candy));
    color: #fff;
    box-shadow: 0 28px 80px rgba(236, 72, 153, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: .25s ease;
    animation: candyCameraFloat 2.4s ease-in-out infinite;
    margin: 0 auto;
}

.start-camera-btn::before {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--pb-primary), var(--pb-candy));
    opacity: .35;
    z-index: -1;
    animation: candyCameraPulse 1.8s ease-out infinite;
}

.start-camera-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 36px 95px rgba(236, 72, 153, .48);
    animation-play-state: paused;
}

.start-camera-btn svg {
    width: 50px;
    height: 50px;
    position: relative;
    z-index: 2;
    animation: candyCameraWiggle 1.6s ease-in-out infinite;
}

/* =========================================================
   WORKSPACE
========================================================= */

.booth-box {
    width: 100%;
    min-height: calc(100vh - 76px - 58px - 48px);
    padding: 32px;
    border-radius: var(--pb-radius-lg);
    border: 1px solid var(--pb-glass-border);
    background: var(--pb-glass);
    box-shadow: var(--pb-shadow);
    backdrop-filter: blur(var(--booth-card-blur, 22px));
    display: flex;
    flex-direction: column;
}

.booth-toolbar {
    flex: 0 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.booth-tool-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.booth-title {
    color: var(--pb-dark);
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -.8px;
    margin-bottom: 4px;
}

.booth-desc,
.booth-mini {
    color: var(--pb-muted);
}

.booth-desc {
    font-size: 14px;
    margin-bottom: 22px;
}

.booth-mini {
    font-size: 13px;
    font-weight: 750;
}

.booth-icon-btn {
    min-height: 44px;
    border-radius: 15px;
    border: 1px solid rgba(109, 93, 252, .16);
    background: rgba(255, 255, 255, .74);
    color: var(--pb-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    font-weight: 850;
    transition: .2s ease;
    box-shadow: var(--pb-shadow-sm);
}

.booth-icon-btn:hover {
    color: var(--pb-primary);
    background: #fff;
    transform: translateY(-2px);
}

.booth-icon-btn svg {
    width: 18px;
    height: 18px;
}

.theme-dark .booth-icon-btn,
.theme-dark .camera-select,
.theme-dark .final-side-panel,
.theme-dark .template-card {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .14);
    color: #f8fafc;
}

/* =========================================================
   TEMPLATE CARD
========================================================= */

.template-card {
    height: 100%;
    border-radius: 20px;
    padding: 10px;
    background: rgba(255, 255, 255, .76);
    border: 1px solid rgba(234, 236, 240, .95);
    cursor: pointer;
    transition: .2s ease;
    box-shadow: var(--pb-shadow-sm);
}

.template-card:hover {
    transform: translateY(-3px);
    background: #fff;
    box-shadow: var(--pb-shadow-hover);
}

.template-card.active {
    border-color: var(--pb-candy);
    box-shadow:
        0 0 0 4px rgba(236, 72, 153, .14),
        0 24px 64px rgba(236, 72, 153, .16);
}

.template-preview-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(109, 93, 252, .08), rgba(236, 72, 153, .08)),
        var(--pb-soft);
    aspect-ratio: 3 / 4;
}

.template-preview {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.template-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: var(--pb-radius-pill);
    background: linear-gradient(135deg, var(--pb-primary), var(--pb-candy));
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(236, 72, 153, .35);
}

.template-card.active .template-check {
    display: flex;
}

.template-start-overlay {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background: rgba(16, 24, 40, .18);
    backdrop-filter: blur(2px);
}

.template-card.active .template-start-overlay {
    display: flex;
}

.template-start-btn {
    border: 0;
    border-radius: var(--pb-radius-pill);
    padding: 11px 18px;
    background: linear-gradient(135deg, var(--pb-primary), var(--pb-candy));
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 16px 42px rgba(236, 72, 153, .38);
    transition: .2s ease;
}

.template-start-btn:hover {
    transform: scale(1.05);
}

.template-info {
    padding-top: 10px;
}

.template-name {
    color: var(--pb-dark);
    font-size: 14px;
    font-weight: 950;
    line-height: 1.25;
    margin-bottom: 2px;
}

.template-meta {
    color: var(--pb-muted);
    font-size: 12px;
    font-weight: 750;
}

/* =========================================================
   CAMERA
========================================================= */

.camera-select {
    min-width: 190px;
    max-width: 260px;
    height: 44px;
    border-radius: 15px;
    border: 1px solid rgba(109, 93, 252, .16);
    background: rgba(255, 255, 255, .82);
    color: var(--pb-dark);
    padding: 0 14px;
    font-weight: 800;
    outline: none;
    box-shadow: var(--pb-shadow-sm);
}

.camera-frame {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, .72);
    background: #090b16;
    box-shadow: 0 30px 90px rgba(16, 24, 40, .18);
}

#cameraPreview {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
    transform: scaleX(-1);
    background: #090b16;
}

.camera-status-pill {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 5;
    padding: 8px 14px;
    border-radius: var(--pb-radius-pill);
    background: rgba(0, 0, 0, .52);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .16);
}

.camera-capture-btn {
    position: absolute;
    left: 50%;
    bottom: 24px;
    z-index: 6;
    transform: translateX(-50%);
    min-width: 190px;
    height: 54px;
    border: 0;
    border-radius: var(--pb-radius-pill);
    background: linear-gradient(135deg, var(--pb-primary), var(--pb-candy));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    font-weight: 950;
    box-shadow: 0 18px 45px rgba(236, 72, 153, .35);
    transition: .22s ease;
}

.camera-capture-btn:hover {
    transform: translateX(-50%) scale(1.04);
    box-shadow: 0 24px 58px rgba(236, 72, 153, .48);
}

.camera-capture-btn:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: translateX(-50%);
}

.camera-capture-btn.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(10px) scale(.96);
}

.camera-countdown-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 30 !important;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .28);
    backdrop-filter: blur(2px);
    pointer-events: none;
}

.camera-countdown-number {
    width: 170px;
    height: 170px;
    border-radius: var(--pb-radius-pill);
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 110px;
    font-weight: 950;
    line-height: 1;
    text-shadow: 0 12px 45px rgba(0, 0, 0, .65);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .35);
}

/* =========================================================
   CAPTURE & SELECT
========================================================= */

.capture-list {
    max-height: 520px;
    overflow-y: auto;
    padding-right: 4px;
}

.capture-card,
.select-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, .12);
    cursor: pointer;
}

.capture-img,
.select-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.select-img {
    border-radius: 18px;
}

.capture-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px;
    opacity: 0;
    transition: .2s ease;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .38), transparent 48%);
}

.capture-card:hover .capture-overlay {
    opacity: 1;
}

.capture-btn {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: rgba(0, 0, 0, .58);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s ease;
}

.capture-btn:hover {
    background: rgba(0, 0, 0, .85);
}

.select-card.selected .select-img {
    filter: brightness(.72);
}

.select-check,
.select-order {
    position: absolute;
    top: 10px;
    z-index: 3;
    border-radius: var(--pb-radius-pill);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
}

.select-check {
    right: 10px;
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--pb-primary), var(--pb-candy));
    box-shadow: 0 12px 30px rgba(236, 72, 153, .35);
}

.select-order {
    left: 10px;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    background: rgba(0, 0, 0, .62);
    font-size: 13px;
    font-weight: 950;
    backdrop-filter: blur(10px);
}

.select-card.selected .select-check,
.select-card.selected .select-order {
    display: flex;
}

.select-overlay-text {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 12px;
    z-index: 3;
    display: none;
    padding: 7px 10px;
    border-radius: var(--pb-radius-pill);
    background: rgba(0, 0, 0, .58);
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    text-align: center;
    backdrop-filter: blur(10px);
}

.select-card.selected .select-overlay-text {
    display: block;
}

/* =========================================================
   VOUCHER MODAL & QR SCANNER
========================================================= */

.voucher-modal {
    border: 0;
    border-radius: 28px;
    padding: 28px;
    background: #fff;
}

.voucher-icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--pb-primary), var(--pb-candy));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 42px rgba(236, 72, 153, .24);
}

.voucher-input {
    height: 56px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 0 18px;
    font-weight: 850;
    text-transform: uppercase;
}

.voucher-input:focus {
    border-color: var(--pb-candy);
    box-shadow: 0 0 0 .25rem rgba(236, 72, 153, .15);
}

.voucher-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9ca3af;
    font-size: 12px;
    margin: 14px 0;
}

.voucher-divider::before,
.voucher-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.qr-scanner-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 360px;
    overflow: hidden;
    border-radius: 22px;
    background: #000;
    margin-bottom: 14px;
    border: 1px solid #e5e7eb;
}

#qrVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.qr-frame {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.qr-frame::before {
    content: "";
    width: 68%;
    max-width: 240px;
    aspect-ratio: 1 / 1;
    border-radius: 22px;
    border: 2px solid rgba(255, 255, 255, .95);
    box-shadow:
        0 0 0 999px rgba(0, 0, 0, .38),
        0 0 30px rgba(236, 72, 153, .35);
}

.qr-line {
    position: absolute;
    width: 58%;
    max-width: 210px;
    height: 3px;
    border-radius: var(--pb-radius-pill);
    background: linear-gradient(90deg, transparent, var(--pb-candy), #fff, var(--pb-candy), transparent);
    box-shadow: 0 0 18px rgba(236, 72, 153, .9);
    animation: qrScanMove 1.6s ease-in-out infinite alternate;
}

.qr-camera-tools {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-bottom: 10px;
}

.qr-camera-select,
.qr-camera-switch-btn,
.qr-action-btn {
    height: 44px;
    border-radius: 14px;
    font-weight: 800;
}

.qr-camera-select,
.qr-camera-switch-btn {
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #111827;
}

.qr-camera-select {
    padding: 0 12px;
    font-size: 13px;
    outline: none;
}

.qr-camera-switch-btn {
    width: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* =========================================================
   FINAL STEP
========================================================= */

.final-preview-area {
    position: relative;
}

.final-main-photo-wrap {
    width: 100%;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.final-photo {
    max-width: 45%;
    max-height: 640px;
    border-radius: 28px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .35);
}

.final-side-panel {
    padding: 14px;
    border-radius: 26px;
    background: rgba(255, 255, 255, .76);
    border: 1px solid rgba(234, 236, 240, .95);
    backdrop-filter: blur(18px);
    box-shadow: var(--pb-shadow-sm);
}

.final-qr-card {
    width: 100%;
    padding: 16px;
    border-radius: 18px;
    text-align: center;
    background: var(--pb-soft);
}

.final-qr-box {
    width: 170px;
    height: 170px;
    padding: 10px;
    border-radius: 18px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--pb-shadow-sm);
}

.final-qr-text {
    color: var(--pb-muted);
    font-size: 13px;
    font-weight: 750;
    margin-top: 10px;
}

.final-action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.final-action-grid .btn,
#stepFinal .btn {
    min-height: 46px;
    border-radius: 14px;
    font-weight: 850;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.final-new-session {
    grid-column: span 2;
}

.gif-mini-card {
    position: absolute;
    right: 18px;
    bottom: 200px;
    width: 190px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(0, 0, 0, .55);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 55px rgba(0, 0, 0, .35);
    z-index: 8;
}

.gif-mini-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #fff;
    margin-bottom: 8px;
}

.gif-mini-header strong {
    display: block;
    font-size: 12px;
    line-height: 1.1;
}

.gif-mini-header span {
    display: block;
    font-size: 10px;
    color: rgba(255, 255, 255, .62);
    margin-top: 2px;
}

.gif-mini-preview {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 13px;
    display: block;
    background: #000;
}

/* =========================================================
   PRINT BOOTH
========================================================= */

@media print {
    @page {
        size: portrait;
        margin: 0;
    }

    html,
    body {
        width: 100%;
        height: 100%;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }

    body * {
        visibility: hidden !important;
    }

    #printArea,
    #printArea * {
        visibility: visible !important;
    }

    #printArea {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #printArea img {
        width: auto !important;
        height: 100vh !important;
        max-width: 100vw !important;
        max-height: 100vh !important;
        object-fit: contain !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
}

/* =========================================================
   BOOTH RESPONSIVE
========================================================= */

@media (max-width: 991px) {
    .final-main-photo-wrap {
        min-height: auto;
    }

    .final-photo {
        max-width: 80%;
    }

    .gif-mini-card {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        max-width: 240px;
        margin: 14px auto 0;
    }

    .final-side-panel {
        text-align: center;
    }

    .final-qr-box {
        width: 150px;
        height: 150px;
    }

    .final-action-grid {
        grid-template-columns: 1fr;
    }

    .final-new-session {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .booth-start-card {
        padding: 24px 18px;
        border-radius: 28px;
    }

    .booth-box {
        padding: 18px;
        border-radius: 24px;
    }

    .booth-tool-actions,
    .camera-select,
    .booth-icon-btn {
        width: 100%;
    }

    .booth-icon-btn {
        justify-content: center;
    }

    #cameraPreview {
        height: 320px;
    }

    .capture-list {
        max-height: none;
    }

    .camera-capture-btn {
        bottom: 16px;
        min-width: 160px;
        height: 48px;
        font-size: 14px;
    }

    .camera-countdown-number {
        width: 126px;
        height: 126px;
        font-size: 78px;
    }

    .start-camera-btn {
        width: 108px;
        height: 108px;
    }

    .start-camera-btn svg {
        width: 42px;
        height: 42px;
    }
}

/* =========================================================
   BOOTH ANIMATION
========================================================= */

@keyframes candyCameraFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(1.03);
    }
}

@keyframes candyCameraPulse {
    0% {
        transform: scale(.92);
        opacity: .45;
    }

    70%,
    100% {
        transform: scale(1.22);
        opacity: 0;
    }
}

@keyframes candyCameraWiggle {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    40% {
        transform: rotate(-6deg) scale(1.06);
    }

    70% {
        transform: rotate(6deg) scale(1.04);
    }
}

@keyframes boothGradientMove {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes qrScanMove {
    from {
        transform: translateY(-105px);
    }

    to {
        transform: translateY(105px);
    }
}

.booth-start-simple {
    min-height: calc(100vh - 190px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    text-align: center;
    padding: 24px;
}

.booth-simple-logo {
    width: 118px;
    height: 118px;
    border-radius: 32px;
    padding: 10px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(255, 255, 255, .72);
    box-shadow: 0 20px 60px rgba(15, 23, 42, .12);
    overflow: hidden;
}

.booth-simple-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.simple-camera-btn {
    width: 138px;
    height: 138px;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(135deg, var(--pb-primary), var(--pb-candy));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 28px 80px rgba(236, 72, 153, .35);
    animation: cameraPulse 1.8s ease-in-out infinite;
}

.simple-camera-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 36px 95px rgba(236, 72, 153, .48);
}

.simple-camera-btn svg {
    width: 56px;
    height: 56px;
    stroke-width: 2.2;
}

.booth-simple-text {
    font-size: 15px;
    font-weight: 800;
    color: #475569;
    letter-spacing: .2px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .75);
    padding: 10px 18px;
    border-radius: 999px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, .08);
}

@keyframes cameraPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 28px 80px rgba(236, 72, 153, .35);
    }

    50% {
        transform: scale(1.07);
        box-shadow: 0 38px 100px rgba(236, 72, 153, .52);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 28px 80px rgba(236, 72, 153, .35);
    }
}

.voucher-code-wrap {
    position: relative;
}

.voucher-prefix {
    position: absolute;
    left: 18px;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 18px;
    font-weight: 950;
    pointer-events: none;
}

.voucher-number-input {
    padding-left: 62px !important;
    font-size: 18px;
    font-weight: 950;
    letter-spacing: 1px;
}