/* ============================================================
   FOAS 14 - Vita Voxa Choir | Global Styles
   ============================================================ */

:root {
    --gold:      #c9a84c;
    --gold-dark: #8B6914;
    --gold-light:#e8c66e;
    --bg:        #0d0d0d;
    --card-bg:   #181818;
    --card-bg2:  #222222;
    --border:    #2e2e2e;
    --text:      #f0f0f0;
    --muted:     #888;
    --danger:    #e05555;
    --success:   #4caf50;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    touch-action: manipulation; /* iOS Safari: disable double-tap zoom */
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.65;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    touch-action: manipulation;
}

/* ============================================================
   WELCOME PAGE
   ============================================================ */

.welcome-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #0d0d0d;
    overflow: hidden;
    position: relative;
}

.welcome-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url('../../bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    /* overlay gelap supaya teks tetap terbaca */
    filter: brightness(0.35);
}

.welcome-page::after {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.1) 40%,
        rgba(0,0,0,0.6) 100%
    );
    pointer-events: none;
}

.welcome-container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    animation: fadeInUp 0.8s ease both;
}

/* Logo */
.choir-logo {
    margin: 0 auto 2rem;
    width: 156px;
    height: 156px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.choir-logo-img {
    width: 156px;
    height: 156px;
    object-fit: contain;
    filter: drop-shadow(0 4px 16px rgba(201,168,76,0.4));
    animation: fadeInUp 0.6s ease both;
}

.choir-name {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    letter-spacing: 4px;
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}

.presents-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--muted);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.event-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(4rem, 12vw, 7rem);
    font-weight: 700;
    line-height: 1.15;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2.5rem;
    letter-spacing: -2px;
    padding-bottom: 0.1em;
}

.event-tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.05rem;
    color: rgba(232, 198, 110, 0.75);
    letter-spacing: 1px;
    margin-bottom: 2rem;
    margin-top: -1rem;
}

.event-details {
    margin-bottom: 3rem;
}
.event-date {
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 0.3rem;
    letter-spacing: 1px;
}
.event-time {
    font-size: 1.05rem;
    color: var(--muted);
    letter-spacing: 2px;
}

.btn-reserve {
    display: inline-block;
    padding: 1.1rem 3.5rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #0d0d0d;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(201,168,76,0.3);
}
.btn-reserve:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(201,168,76,0.5);
    color: #0d0d0d;
}
.btn-coming-soon {
    background: #3a3a3a;
    color: #cfcfcf;
    cursor: not-allowed;
    box-shadow: none;
}
.btn-coming-soon:hover {
    transform: none;
    box-shadow: none;
    color: #cfcfcf;
}

/* ============================================================
   FORM PAGE
   ============================================================ */

.form-page {
    min-height: 100vh;
    padding: 2rem 1rem 4rem;
    position: relative;
}

.form-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url('../../bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.3);
    z-index: 0;
}

.form-wrapper {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}
.form-soldout {
    background: #fdecea;
    border: 1.5px solid #e0a0a0;
    color: #8a1f1f;
    border-radius: 12px;
    padding: 1.1rem 1.4rem;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    line-height: 1.5;
    text-align: center;
}

/* Progress Steps */
.progress-container {
    padding: 1.5rem 0 2.5rem;
}
.step-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
}
.step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--muted);
    transition: all 0.3s ease;
}
.step-item span {
    font-size: 0.9rem;
    color: #aaa;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: color 0.3s;
}
.step-line {
    width: 80px;
    height: 2px;
    background: var(--border);
    margin: 0 8px;
    margin-bottom: 22px;
    transition: background 0.3s;
}
.step-item.active .step-circle {
    border-color: var(--gold);
    background: var(--gold);
    color: #0d0d0d;
}
.step-item.active span { color: var(--gold); }
.step-item.completed .step-circle {
    border-color: var(--gold);
    background: transparent;
    color: var(--gold);
}
.step-item.completed .step-circle::after {
    content: '✓';
}
.step-line.completed { background: var(--gold); }

/* Form Card — white theme */
.form-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    overflow: hidden;
    animation: fadeInUp 0.4s ease both;
    box-shadow: 0 4px 32px rgba(0,0,0,0.18);
}
.form-card-header {
    padding: 2.25rem 2.5rem 1.75rem;
    border-bottom: 1px solid #eee;
    background: #fff;
    border-top: 4px solid var(--gold);
}
.form-step-tag {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-dark);
    background: rgba(201,168,76,0.12);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 0.85rem;
    font-weight: 600;
}
.form-card-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.1rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}
.form-card-header p {
    color: #666;
    font-size: 1.05rem;
}

.form-card-body {
    padding: 2.5rem;
    background: #ffffff;
}
.form-card-footer {
    padding: 1.75rem 2.5rem;
    border-top: 1px solid #eee;
    background: #fafafa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

/* Inputs */
.form-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.7rem;
    display: block;
}
.required { color: #c9780c; }

.custom-input {
    background: #fff !important;
    border: 1.5px solid #d0d0d0 !important;
    color: #1a1a1a !important;
    border-radius: 10px !important;
    padding: 1rem 1.25rem !important;
    font-size: 1.05rem !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}
.custom-input:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(201,168,76,0.2) !important;
    outline: none !important;
}
.custom-input::placeholder { color: #aaa !important; }
.custom-input.is-invalid { border-color: var(--danger) !important; }

.input-group-text.country-code {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border: 1.5px solid #d0d0d0;
    border-right: none;
    color: #8B6914;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 10px 0 0 10px;
    padding: 0 1.1rem;
}
.input-group .custom-input { border-radius: 0 10px 10px 0 !important; }

/* Ticket Counter */
.ticket-counter {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
}
.counter-btn {
    width: 56px;
    height: 56px;
    background: #f5f5f5;
    border: 1.5px solid #d0d0d0;
    color: #8B6914;
    font-size: 1.6rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    line-height: 1;
}
.counter-btn:first-child { border-radius: 10px 0 0 10px; }
.counter-btn:last-child  { border-radius: 0 10px 10px 0; }
.counter-btn:hover { background: rgba(201,168,76,0.12); }
.counter-input {
    width: 76px;
    height: 56px;
    text-align: center;
    background: #fff;
    border: 1.5px solid #d0d0d0;
    border-left: none;
    border-right: none;
    color: #1a1a1a;
    font-size: 1.3rem;
    font-weight: 700;
}
.text-muted-gold { color: #888; font-size: 0.95rem; display: block; margin-top: 0.6rem; }

/* Arwah Toggle */
.arwah-toggle {
    background: #fffbf0;
    border: 1.5px solid rgba(201,168,76,0.35);
    border-radius: 12px;
    padding: 1.1rem 1.4rem;
}
.custom-checkbox-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    user-select: none;
}
.custom-checkbox { display: none; }
.checkmark {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 5px;
    border: 2px solid var(--gold);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    font-size: 0.8rem;
    color: #0d0d0d;
}
.custom-checkbox:checked + .checkmark {
    background: var(--gold);
}
.custom-checkbox:checked + .checkmark::after { content: '✓'; }
.checkbox-text strong { display: block; font-size: 1.05rem; color: #1a1a1a; }
.checkbox-text small  { display: block; font-size: 0.92rem; color: #777; margin-top: 4px; }

/* Arwah Form */
.arwah-form { margin-top: 1.25rem; }
.arwah-card {
    background: #fffdf5;
    border: 1.5px dashed rgba(201,168,76,0.45);
    border-radius: 12px;
    padding: 1.75rem;
    animation: fadeInUp 0.3s ease both;
}
.arwah-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: #8B6914;
    margin-bottom: 1.4rem;
}

/* Spacing antar form group */
.form-card-body .form-group { margin-bottom: 1.75rem !important; }

/* Upload Area */
.upload-area {
    border: 2px dashed #ccc;
    border-radius: 12px;
    background: #fafafa;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    overflow: hidden;
    position: relative;
}
.upload-area:hover,
.upload-area.dragover {
    border-color: var(--gold);
    background: #fffbf0;
}
.upload-placeholder {
    text-align: center;
    padding: 1.5rem;
    pointer-events: none;
}
.upload-placeholder p {
    font-size: 0.95rem;
    color: #888;
    margin: 0.25rem 0;
}
.upload-or { font-size: 0.82rem !important; }
.upload-hint { font-size: 0.8rem; color: #aaa; display: block; margin-top: 0.5rem; }
.upload-warning {
    background: #fff7e6;
    border: 1px solid #f0d795;
    color: #8a6d3b;
    font-size: 0.9rem;
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    margin-bottom: 0.6rem;
}
.btn-browse {
    display: inline-block;
    margin-top: 0.6rem;
    padding: 0.45rem 1.2rem;
    border: 1.5px solid #c9a84c;
    background: transparent;
    color: #8B6914;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    pointer-events: all;
    transition: background 0.2s;
}
.btn-browse:hover { background: rgba(201,168,76,0.1); }

.upload-preview {
    width: 100%;
    height: 160px;
    position: relative;
}
.upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.btn-remove-img {
    position: absolute;
    top: 8px; right: 8px;
    width: 28px; height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Buttons */
.btn-primary-custom {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}
.btn-primary-custom:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(201,168,76,0.4);
}
.btn-secondary-custom {
    padding: 1rem 1.75rem;
    background: transparent;
    color: #555;
    border: 1.5px solid #ccc;
    border-radius: 10px;
    font-size: 1.05rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}
.btn-secondary-custom:hover { border-color: #888; color: #222; }
.btn-submit-custom {
    padding: 1rem 3rem;
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}
.btn-submit-custom:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(76,175,80,0.4);
}

/* ============================================================
   STEP 2 - OFFERING
   ============================================================ */

.offering-info {
    text-align: center;
    padding: 1rem 0 1.5rem;
}
.offering-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.offering-info h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}
.offering-info p { color: #555; font-size: 1.05rem; line-height: 1.7; }

.bank-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    background: #f8f8f8;
    border: 1.5px solid rgba(201,168,76,0.3);
    border-radius: 12px;
    padding: 1.4rem 1.6rem;
    margin: 1.1rem 0;
}
.bank-logo {
    width: 56px;
    height: 56px;
    background: #005f9e;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    color: #fff;
    letter-spacing: -1px;
}
.bank-details { width: 100%; }
.bank-name   { font-size: 0.85rem; color: #888; margin: 0; }
.bank-account{ font-size: 1.6rem; font-weight: 700; color: #1a1a1a; letter-spacing: 3px; margin: 4px 0; }
.bank-holder { font-size: 0.95rem; color: #8B6914; margin: 0; font-weight: 600; }
.btn-copy {
    padding: 0.4rem 1rem;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.btn-copy-full { width: 100%; padding: 0.65rem 1rem; font-size: 0.95rem; }
.btn-copy:hover { background: rgba(201,168,76,0.1); }
.btn-copy.copied { background: rgba(201,168,76,0.2); color: var(--gold-light); }

.offering-note {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    background: #fffbf0;
    border-left: 4px solid var(--gold);
    border-radius: 0 10px 10px 0;
    padding: 1.1rem 1.4rem;
    margin-top: 0.75rem;
}
.note-icon { font-size: 1.2rem; flex-shrink: 0; padding-top: 2px; }
.offering-note p { font-size: 1rem; color: #444; line-height: 1.7; margin: 0; }

/* ============================================================
   STEP 3 - REVIEW
   ============================================================ */

.review-section { display: flex; flex-direction: column; gap: 1.25rem; }
.review-group {
    background: #f9f9f9;
    border: 1.5px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
}
.review-group-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #8B6914;
    font-weight: 700;
    padding: 0.75rem 1.25rem;
    background: #fffbf0;
    border-bottom: 1px solid #e8e8e8;
}
.review-rows { padding: 0.5rem 1.25rem; }
.review-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.75rem 0;
    font-size: 1.05rem;
}
.review-row:not(:last-child) { border-bottom: 1px solid #efefef; }
.review-label { color: #888; font-size: 0.85rem; }
.review-value { color: #1a1a1a; font-weight: 600; }

/* ============================================================
   TICKET PAGE
   ============================================================ */

.ticket-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: #ffffff;
}

.ticket-success-header {
    text-align: center;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.5s ease both;
}
.success-icon {
    width: 64px;
    height: 64px;
    background: rgba(76,175,80,0.15);
    border: 2px solid #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #4caf50;
    margin: 0 auto 1.25rem;
}
.ticket-success-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}
.ticket-success-header p { color: #666; font-size: 1rem; }

/* The Ticket Design */
#ticketDesign {
    width: 100%;
    max-width: 640px;
    background: linear-gradient(135deg, #1a1410 0%, #0d0d0d 100%);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    animation: fadeInUp 0.6s ease 0.2s both;
    box-shadow: 0 0 60px rgba(201,168,76,0.1);
}
#ticketDesign::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--gold-dark), var(--gold-light), var(--gold-dark));
}

.ticket-top {
    display: flex;
    align-items: stretch;
    min-height: 220px;
}
.ticket-left {
    flex: 1;
    padding: 2rem;
    border-right: 2px dashed rgba(201,168,76,0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.ticket-right {
    width: 160px;
    flex-shrink: 0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.ticket-choir {
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.4rem;
}
.ticket-event {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}
.ticket-presents {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--muted);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}
.ticket-info-row {
    display: flex;
    gap: 1.5rem;
}
.ticket-info-item label {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 3px;
}
.ticket-info-item span {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

#qrcode-container {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
}
.ticket-code-label {
    font-size: 0.6rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
}
.ticket-code-value {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 700;
    text-align: center;
    word-break: break-all;
}

.ticket-bottom {
    border-top: 2px dashed rgba(201,168,76,0.2);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.attendee-info { flex: 1; }
.attendee-label {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    display: block;
    margin-bottom: 3px;
}
.attendee-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--text);
}
.ticket-qty {
    background: rgba(201,168,76,0.1);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 8px;
    padding: 0.4rem 1rem;
    text-align: center;
}
.ticket-qty-num {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}
.ticket-qty-label {
    display: block;
    font-size: 0.6rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Ticket Actions */
.ticket-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.75rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.6s ease 0.4s both;
}
.btn-download {
    padding: 0.9rem 2.25rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #0d0d0d;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}
.btn-download:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(201,168,76,0.35);
}
.btn-new-reg {
    padding: 0.9rem 1.75rem;
    background: transparent;
    color: #666;
    border: 1.5px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-new-reg:hover { color: #222; border-color: #888; }

.email-note {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
    animation: fadeInUp 0.6s ease 0.6s both;
}
.email-note span { color: #8B6914; }

/* Kontak bantuan di bawah tiket (tampilan sama dengan halaman 404) */
.ticket-help {
    width: 100%;
    max-width: 380px;   /* selebar kartu tiket agar rapi di layar sempit */
    margin: 1.75rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid #e0d6c2;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #5a4a35;
    text-align: center;
    animation: fadeInUp 0.6s ease 0.7s both;
}
.ticket-help strong { color: #1a0800; }
.ticket-help-wa {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 0.85rem 1.6rem;
    border-radius: 10px;
    font-size: 1rem;
}
.ticket-help-wa:hover { background: #1da851; }
.ticket-help-brand {
    margin-top: 2rem;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #9a7a55;
    text-transform: uppercase;
}

.ticket-share-row {
    width: 100%;
    max-width: 380px;
    margin: -0.25rem auto 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.btn-share-wa {
    width: 100%;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.8rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    transition: background 0.15s;
    font-family: 'Inter', sans-serif;
}
.btn-share-wa:hover, .btn-share-wa:active { background: #1da851; }
.btn-share-wa:disabled { background: #aaa; cursor: not-allowed; }
.wa-sent-badge {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: #1a7a40;
    background: #e6f9ee;
    border: 1.5px solid #a8e6be;
    border-radius: 10px;
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    width: 100%;
}

/* ============================================================
   MULTI-QR TICKET GRID
   ============================================================ */

/* ============================================================
   CONCERT INVITATION TICKET CARD
   ============================================================ */

.ticket-summary-card {
    width: 100%;
    max-width: 480px;
    background: #f8f4ec;
    border: 1px solid #d8cdb4;
    border-radius: 4px;
    padding: 2.25rem 2rem;
    text-align: center;
    color: #1a0e00;
    animation: fadeInUp 0.5s ease 0.1s both;
    box-shadow: 0 4px 32px rgba(0,0,0,0.1);
}

/* Top: logo + choir name */
.tsc-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.tsc-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
}
.tsc-choir-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.5;
}
.tsc-choir-text span {
    font-size: 0.6rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #6b4c2a;
}
.tsc-choir-text strong {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #2c1500;
    font-weight: 800;
}

/* Divider */
.tsc-rule {
    height: 1px;
    background: #c8b898;
    margin: 1rem 0;
}

/* "Undangan" cursive */
.tsc-undangan {
    font-family: 'Dancing Script', cursive;
    font-size: 2.25rem;
    color: #3d2000;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

/* Event title */
.tsc-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 10vw, 4rem);
    font-weight: 900;
    color: #1a0800;
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

/* Tagline */
.tsc-subtitle {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #6b4c2a;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

/* "Vita Voxa Choir Presents" */
.tsc-presents {
    font-size: 0.62rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #9a7a55;
    margin-bottom: 0.5rem;
}

/* Date + Details row */
.tsc-info-row {
    display: flex;
    align-items: stretch;
    text-align: left;
    gap: 0;
}

.tsc-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-right: 1.5rem;
    min-width: 90px;
}
.tsc-month {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #6b4c2a;
    font-weight: 700;
    margin-bottom: 0;
}
.tsc-day {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 3.75rem;
    font-weight: 900;
    color: #1a0800;
    line-height: 1;
    margin: 0.1rem 0;
}
.tsc-year {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    color: #6b4c2a;
    font-weight: 700;
}

.tsc-vline {
    width: 1px;
    background: #c8b898;
    align-self: stretch;
    flex-shrink: 0;
}

.tsc-detail {
    flex: 1;
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tsc-dayname {
    font-size: 0.62rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #9a7a55;
    font-weight: 700;
    margin-bottom: 0.1rem;
}
.tsc-time {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a0800;
    margin-bottom: 0.5rem;
}
.tsc-rule-sm {
    height: 1px;
    background: #c8b898;
    margin: 0.5rem 0;
}
.tsc-peserta-label {
    font-size: 0.58rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #9a7a55;
    margin-bottom: 0.15rem;
}
.tsc-peserta-name {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1a0800;
    margin-bottom: 0.1rem;
    line-height: 1.2;
}
.tsc-peserta-tiket {
    font-size: 0.7rem;
    color: #6b4c2a;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Arwah section */
.tsc-arwah {
    text-align: center;
    padding-top: 0.25rem;
}
.tsc-arwah-label {
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #9a7a55;
    margin-bottom: 0.2rem;
}
.tsc-arwah-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a0800;
    margin-bottom: 0.15rem;
}
.tsc-arwah-years {
    font-size: 0.78rem;
    color: #8a6a45;
}

/* QR Grid */
.qr-section-title {
    width: 100%;
    max-width: 640px;
    font-size: 1rem;
    font-weight: 600;
    color: #888;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    animation: fadeInUp 0.5s ease 0.2s both;
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    width: 100%;
    max-width: 640px;
    animation: fadeInUp 0.5s ease 0.3s both;
}
.qr-tile {
    background: #f8f8f8;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.qr-tile-num {
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #8B6914;
    font-weight: 600;
}
.qr-canvas-wrap {
    background: #fff;
    padding: 8px;
    border-radius: 8px;
    line-height: 0;
}
.qr-code-val {
    font-family: 'Courier New', monospace;
    font-size: 0.65rem;
    color: #888;
    text-align: center;
    word-break: break-all;
    line-height: 1.4;
}

/* Download wrap — stack tiket secara vertikal */
#ticketDownloadWrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 480px;
    padding: 0.5rem 0;
}

/* ============================================================
   INDIVIDUAL TICKET CARD (concert invitation style + QR)
   ============================================================ */

.ticket-card {
    width: 100%;
    max-width: 380px;
    background: #f8f4ec;
    border: 1px solid #b8a888;
    border-radius: 4px;
    padding: 2rem 1.75rem;
    text-align: center;
    color: #1a0e00;
    box-shadow: 0 4px 24px rgba(0,0,0,0.14);
    animation: fadeInUp 0.5s ease both;
    margin-left: auto;
    margin-right: auto;
}

/* Header */
.tc-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}
.tc-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}
.tc-choir-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.5;
}
.tc-choir-text span {
    font-size: 0.58rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #4a2e0a;
}
.tc-choir-text strong {
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #1a0800;
    font-weight: 800;
}

/* Dividers */
.tc-rule    { height: 1px; background: #9a8060; margin: 0.85rem 0; }
.tc-rule-sm { height: 1px; background: #9a8060; margin: 0.45rem 0; }

/* Undangan cursive */
.tc-undangan {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: #3d2000;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

/* Event title */
.tc-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 900;
    color: #1a0800;
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: 0.4rem;
}
.tc-subtitle {
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #4a2e0a;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.tc-presents {
    font-size: 0.58rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #6b4c2a;
}

/* Date + Detail row */
.tc-info-row {
    display: flex;
    align-items: stretch;
    text-align: left;
}
.tc-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-right: 1.25rem;
    min-width: 80px;
}
.tc-month {
    display: block;
    font-size: 0.58rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #4a2e0a;
    font-weight: 700;
}
.tc-day {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 3.25rem;
    font-weight: 900;
    color: #1a0800;
    line-height: 1;
    margin: 0.05rem 0;
}
.tc-year {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    color: #4a2e0a;
    font-weight: 700;
}
.tc-vline {
    width: 1px;
    background: #9a8060;
    align-self: stretch;
    flex-shrink: 0;
}
.tc-detail {
    flex: 1;
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tc-dayname {
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #4a2e0a;
    font-weight: 700;
    margin-bottom: 0.1rem;
}
.tc-time {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a0800;
    margin-bottom: 0.3rem;
}
.tc-peserta-label {
    font-size: 0.55rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #4a2e0a;
    margin-bottom: 0.1rem;
}
.tc-peserta-name {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1a0800;
    line-height: 1.2;
    margin-bottom: 0.15rem;
}
.tc-ticket-num {
    font-size: 1rem;
    color: #1a0800;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
}

/* QR section */
.tc-qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.25rem;
}
.tc-qr-wrap {
    background: #fff;
    padding: 8px;
    border-radius: 6px;
    display: inline-block;
    line-height: 0;
}
.tc-qr-code {
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.85rem;
    color: #0d0d0d;
    letter-spacing: 2px;
    font-weight: 700;
}

/* ============================================================
   VALIDATION ERRORS
   ============================================================ */

.field-error {
    font-size: 0.78rem;
    color: var(--danger);
    margin-top: 0.3rem;
    display: none;
}
.field-error.visible { display: block; }
.shake { animation: shake 0.4s ease; }

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60%  { transform: translateX(-6px); }
    40%, 80%  { transform: translateX(6px); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 480px) {
    .form-card-body  { padding: 1.25rem; }
    .form-card-header{ padding: 1.25rem; }
    .form-card-footer{ padding: 1rem 1.25rem; flex-direction: column-reverse; }
    .btn-primary-custom, .btn-secondary-custom, .btn-submit-custom { width: 100%; text-align: center; justify-content: center; }
    .ticket-top { flex-direction: column; }
    .ticket-left { border-right: none; border-bottom: 2px dashed rgba(201,168,76,0.2); }
    .ticket-right { width: 100%; flex-direction: row; border: none; padding: 1.25rem; }
    .step-line { width: 40px; }
}
