/* assets/css/kiosk.css - Photobooth Kiosk UI */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
    --bg-primary: #1e1145;
    --bg-gradient: radial-gradient(circle at center, #4c1d95 0%, #1e1035 100%);
    --card-bg: rgba(255, 255, 255, 0.95);
    --card-dark: rgba(26, 16, 51, 0.75);
    --accent-yellow: #facc15;
    --accent-yellow-dark: #eab308;
    --accent-purple: #7c3aed;
    --accent-purple-light: #a855f7;
    --accent-pink: #ec4899;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --text-dark: #1e1b4b;
    --text-muted: #64748b;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --shadow-pop: 0 12px 32px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 25px rgba(250, 204, 21, 0.4);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

body {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    background: var(--bg-primary);
    background-image: 
        radial-gradient(circle at center, rgba(124, 58, 237, 0.4) 0%, rgba(15, 7, 34, 0.95) 100%),
        repeating-conic-gradient(from 0deg at 50% 50%, rgba(139, 92, 246, 0.08) 0deg 15deg, rgba(76, 29, 149, 0.02) 15deg 30deg);
    min-height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Background comic ray animation */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Kiosk App Container */
#kiosk-app {
    width: 100%;
    max-width: 1280px;
    height: 100vh;
    max-height: 900px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding: 24px;
}

/* Header bar */
.kiosk-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 20px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    font-size: 28px;
    background: var(--accent-yellow);
    color: var(--text-dark);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(250, 204, 21, 0.4);
}

.brand-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.step-indicator {
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    color: var(--accent-yellow);
    border: 1px solid rgba(250, 204, 21, 0.3);
}

.header-timer {
    background: var(--accent-yellow);
    color: var(--text-dark);
    font-weight: 800;
    font-size: 16px;
    padding: 6px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Screens wrapper */
.screen-container {
    flex: 1;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
}

.screen {
    width: 100%;
    min-height: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    margin: auto;
    animation: fadeIn 0.35s ease-out forwards;
}

.screen.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* Typography & Titles */
.screen-title {
    font-size: 38px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 24px;
    color: #ffffff;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
}

.screen-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    margin-top: -14px;
    margin-bottom: 30px;
}

/* 1. Cara Pakai (Tutorial Guide) */
.guide-card-wrap {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    width: 100%;
    max-width: 960px;
    color: var(--text-dark);
    box-shadow: var(--shadow-pop);
    border: 4px solid var(--accent-yellow);
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 36px 0;
}

.step-box {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.25s ease;
    position: relative;
}

.step-box:hover {
    transform: translateY(-5px);
    border-color: var(--accent-purple);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.15);
}

.step-num {
    position: absolute;
    top: -12px;
    left: 12px;
    background: var(--accent-purple);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon-img {
    font-size: 48px;
    margin-bottom: 14px;
}

.step-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
}

/* 2. Paper Size Options (Pilih Ukuran Kertas) */
.paper-options-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    width: 100%;
    max-width: 1050px;
    margin-bottom: 30px;
}

.paper-card {
    flex: 1;
    background: #ffffff;
    color: var(--text-dark);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    border: 4px solid transparent;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-pop);
    position: relative;
}

.paper-card:hover, .paper-card.selected {
    border-color: var(--accent-yellow);
    transform: translateY(-8px) scale(1.03);
    box-shadow: var(--shadow-glow);
}

.paper-preview-box {
    width: 100%;
    height: 260px;
    background: #f1f5f9;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    overflow: hidden;
    border: 2px dashed #cbd5e1;
}

.paper-preview-box img {
    max-height: 90%;
    max-width: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.paper-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--accent-purple);
    color: white;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
}

.paper-title {
    font-size: 26px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.paper-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-purple);
}

/* 3. Quantity Selector (Pilih Jumlah Print) */
.qty-card {
    background: #ffffff;
    color: var(--text-dark);
    border-radius: var(--radius-lg);
    padding: 40px 60px;
    width: 100%;
    max-width: 540px;
    box-shadow: var(--shadow-pop);
    border: 4px solid var(--accent-yellow);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 28px 0;
}

.qty-btn {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: none;
    background: var(--accent-purple);
    color: #ffffff;
    font-size: 32px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(124, 58, 237, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.qty-btn:active {
    transform: scale(0.92);
}

.qty-display {
    font-size: 54px;
    font-weight: 900;
    color: var(--text-dark);
    min-width: 60px;
    text-align: center;
}

.total-price-box {
    background: #f8fafc;
    border-radius: var(--radius-md);
    padding: 16px 32px;
    border: 2px solid #e2e8f0;
    text-align: center;
    width: 100%;
    margin-bottom: 24px;
}

.total-price-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-muted);
}

.total-price-value {
    font-size: 36px;
    font-weight: 900;
    color: var(--accent-purple);
}

/* 4. Payment Method Selection */
.payment-methods-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    width: 100%;
    max-width: 780px;
    margin: 20px 0 40px;
}

.pay-card {
    flex: 1;
    background: #ffffff;
    color: var(--text-dark);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    border: 4px solid transparent;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-pop);
}

.pay-card:hover, .pay-card.selected {
    border-color: var(--accent-yellow);
    transform: translateY(-8px) scale(1.04);
    box-shadow: var(--shadow-glow);
}

.pay-icon {
    font-size: 64px;
    margin-bottom: 18px;
}

.pay-title {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 6px;
}

.pay-desc {
    font-size: 15px;
    color: var(--text-muted);
    text-align: center;
}

/* 5. Payment QRIS Display (Clean, Spacious & Highly Visible) */
.qris-card-wrapper {
    display: flex;
    flex-direction: row;
    gap: 32px;
    background: #ffffff;
    color: var(--text-dark);
    border-radius: var(--radius-lg);
    padding: 26px 36px;
    width: 100%;
    max-width: 840px;
    box-shadow: var(--shadow-pop);
    border: 3.5px solid var(--accent-yellow);
    align-items: center;
    box-sizing: border-box;
}

.qris-card-left {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-right: 28px;
    border-right: 2px dashed #e2e8f0;
}

.qris-card-subtitle {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-align: center;
}

.qris-qr-frame {
    background: #ffffff;
    padding: 8px;
    border: 2px solid #cbd5e1;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 320px;
    overflow: hidden;
}

.qris-qr-frame img {
    max-width: 264px;
    max-height: 304px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.qris-qr-frame canvas {
    max-width: 250px;
    max-height: 250px;
    display: block;
}

.qris-countdown-pill {
    margin-top: 10px;
    background: #f3e8ff;
    color: var(--accent-purple);
    font-size: 14px;
    font-weight: 800;
    padding: 6px 18px;
    border-radius: 50px;
    border: 1.5px solid #d8b4fe;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.qris-card-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.qris-info-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.qris-meta-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.qris-meta-label {
    font-size: 13px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.qris-meta-value {
    font-size: 22px;
    font-weight: 900;
    color: var(--text-dark);
}

.qris-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.qris-tag-pill {
    font-size: 12.5px;
    font-weight: 800;
    color: #3730a3;
    background: #e0e7ff;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1.5px solid #c7d2fe;
}

.qris-amount-card {
    background: #f8fafc;
    border: 2px solid #ede9fe;
    border-radius: 14px;
    padding: 10px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2px 0;
}

.qris-amount-label {
    font-size: 15px;
    font-weight: 800;
    color: #64748b;
}

.qris-amount-val {
    font-size: 30px;
    font-weight: 900;
    color: var(--accent-purple);
}

.qris-status-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 800;
    color: #92400e;
    background: #fef3c7;
    padding: 6px 16px;
    border-radius: 20px;
    width: fit-content;
    border: 1px solid #fde68a;
}

.qris-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 8px #f59e0b;
    animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

.qris-buttons-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.btn-subtle {
    background: #f8fafc;
    color: #475569;
    font-size: 14px;
    font-weight: 800;
    padding: 10px 18px;
    border-radius: 50px;
    border: 1.5px solid #cbd5e1;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.btn-subtle:hover {
    background: #e2e8f0;
    color: var(--text-dark);
}

.voucher-pane-stack {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.voucher-input-field {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    border: 2px solid #cbd5e1;
    border-radius: 10px;
    text-align: center;
    color: var(--text-dark);
    background: #f8fafc;
    box-sizing: border-box;
    letter-spacing: 1px;
}

.voucher-input-field:focus {
    outline: none;
    border-color: var(--accent-purple);
    background: #ffffff;
}

/* 6. Template Selection Screen */
.template-layout {
    display: flex;
    gap: 28px;
    width: 100%;
    height: 100%;
    max-height: 720px;
}

.template-preview-pane {
    flex: 0.9;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-pop);
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.template-canvas-box {
    max-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.template-canvas-box canvas {
    max-height: 500px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.template-picker-pane {
    flex: 1.1;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    padding: 24px;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-pop);
}

.category-filter-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.cat-pill {
    padding: 8px 18px;
    border-radius: 50px;
    background: #f1f5f9;
    border: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.cat-pill.active, .cat-pill:hover {
    background: var(--accent-purple);
    color: white;
}

.templates-grid {
    flex: 1;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding-right: 6px;
}

.template-item {
    background: #f8fafc;
    border: 3px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.2s;
}

.template-item:hover, .template-item.selected {
    border-color: var(--accent-purple);
    background: #ede9fe;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(124, 58, 237, 0.2);
}

.template-thumb {
    width: 100%;
    height: 170px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 8px;
    margin-bottom: 8px;
}

.template-item-name {
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    color: var(--text-dark);
}

/* 7. Photoshoot Session (Ambil Foto) */
.camera-view-wrap {
    width: 100%;
    max-width: 900px;
    height: 100%;
    max-height: 650px;
    background: #000000;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    border: 4px solid var(--accent-yellow);
    box-shadow: var(--shadow-pop);
    display: flex;
    align-items: center;
    justify-content: center;
}

#camera-feed {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1); /* Mirror camera */
}

.pose-indicator-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 800;
    color: var(--accent-yellow);
    border: 1px solid rgba(250, 204, 21, 0.4);
    z-index: 5;
}

.tap-to-start-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 6;
    transition: opacity 0.2s;
}

.tap-icon {
    font-size: 72px;
    color: var(--accent-yellow);
    margin-bottom: 16px;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.countdown-overlay {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 7;
    pointer-events: none;
}

.countdown-num {
    font-size: 160px;
    font-weight: 900;
    color: var(--accent-yellow);
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.9), 0 0 20px rgba(250, 204, 21, 0.8);
    animation: popNum 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite;
}

@keyframes popNum {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.flash-overlay {
    position: absolute;
    inset: 0;
    background: #ffffff;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
}

.flash-overlay.trigger-flash {
    animation: flashAnim 0.4s ease-out;
}

@keyframes flashAnim {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

/* 8. Filter Selection Screen */
.filter-layout {
    display: flex;
    gap: 28px;
    width: 100%;
    height: 100%;
    max-height: 720px;
}

.filter-preview-pane {
    flex: 1;
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-pop);
}

.filter-preview-pane canvas {
    max-height: 540px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.filter-options-pane {
    flex: 0.9;
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 24px;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-pop);
}

.filter-options-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 6px;
}

.filter-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f8fafc;
    border: 3px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 12px 18px;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-card:hover, .filter-card.selected {
    border-color: var(--accent-purple);
    background: #ede9fe;
    transform: translateX(6px);
}

.filter-preview-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
}

.filter-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
}

.filter-desc {
    font-size: 13px;
    color: var(--text-muted);
}

/* 9. Social Media Consent Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 7, 34, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 20px;
}

.modal-backdrop.show {
    display: flex;
}

.consent-modal {
    background: #ffffff;
    color: var(--text-dark);
    border-radius: var(--radius-lg);
    padding: 36px 44px;
    width: 100%;
    max-width: 540px;
    text-align: center;
    box-shadow: var(--shadow-pop);
    border: 4px solid var(--accent-yellow);
    animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.consent-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.consent-title {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 12px;
}

.consent-body {
    font-size: 16px;
    color: #475569;
    margin-bottom: 28px;
    line-height: 1.5;
}

.consent-buttons {
    display: flex;
    gap: 16px;
}

/* 10. Finish & Download Screen */
.finish-layout {
    display: flex;
    gap: 36px;
    background: #ffffff;
    color: var(--text-dark);
    border-radius: var(--radius-lg);
    padding: 36px;
    width: 100%;
    max-width: 980px;
    box-shadow: var(--shadow-pop);
    border: 4px solid var(--accent-yellow);
}

.finish-preview-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: var(--radius-md);
    padding: 16px;
    border: 2px dashed #cbd5e1;
}

.finish-preview-side img {
    max-height: 520px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.finish-action-side {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.digital-qr-card {
    background: #f1f5f9;
    padding: 20px;
    border-radius: var(--radius-md);
    border: 2px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    width: 100%;
    max-width: 320px;
}

.digital-qr-card canvas, .digital-qr-card img {
    width: 180px;
    height: 180px;
    background: white;
    padding: 8px;
    border-radius: 8px;
}

/* Common Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-yellow-dark) 100%);
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 900;
    padding: 16px 36px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(250, 204, 21, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 28px rgba(250, 204, 21, 0.5);
}

.btn-primary:active {
    transform: scale(0.96);
}

.btn-purple {
    background: linear-gradient(135deg, var(--accent-purple) 0%, #6d28d9 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
}

.btn-purple:hover {
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.45);
}

.btn-green {
    background: linear-gradient(135deg, var(--accent-green) 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
}

.btn-red {
    background: linear-gradient(135deg, var(--accent-red) 0%, #dc2626 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.35);
}

.btn-secondary {
    background: #f1f5f9;
    color: #475569;
    font-size: 16px;
    font-weight: 800;
    padding: 12px 24px;
    border-radius: 50px;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #e2e8f0;
    color: var(--text-dark);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .screen-title { font-size: 30px; }
    .paper-options-grid { flex-direction: column; }
    .template-layout, .filter-layout, .finish-layout, .qris-layout { flex-direction: column; }
}
