/* =========================================================
   Struk Digital — Frontend Styles
   Tolbakter Theme - ASTOLL Hakaaston Integration
   Authentic Physical Receipt & Clean Minimalist UI
   ========================================================= */

.struk-section {
    background-color: var(--secondary-cream, #f8fafc);
    padding: 2.5rem 0 3rem;
}

/* =========================================================
   1. APP HEADER & CONTAINER (CLEAN, SIMPLE & FULL CONTAINER)
   ========================================================= */
.tolbakter-struk-app-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

/* =========================================================
   1.1 INFO BANNER (TRANSACTION TIME & RETENTION NOTICE)
   ========================================================= */
.struk-info-banner {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 2rem;
    box-shadow: none;
}

.struk-info-banner-header {
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.struk-info-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(189, 8, 8, 0.08);
    color: var(--primary-maroon, #bd0808);
    font-family: var(--font-primary, "Quattrocento Sans", sans-serif);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
}

.struk-info-banner-badge i {
    font-size: 0.95rem;
}

.struk-info-banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.struk-info-banner-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.struk-info-banner-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.struk-info-banner-card--highlight {
    background: #ffffff;
    border: 1.5px solid #fca5a5;
    box-shadow: 0 4px 16px rgba(189, 8, 8, 0.05);
}

.struk-info-banner-card--highlight:hover {
    border-color: var(--primary-maroon, #bd0808);
    box-shadow: 0 8px 24px rgba(189, 8, 8, 0.1);
}

.struk-info-banner-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: #fef2f2;
    color: var(--primary-maroon, #bd0808);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}

.struk-info-banner-card--highlight .struk-info-banner-icon {
    background: var(--primary-maroon, #bd0808);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(189, 8, 8, 0.25);
}

.struk-info-banner-content {
    flex: 1;
}

.struk-info-banner-label {
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.1px;
    color: #0f172a;
    margin-bottom: 6px;
    line-height: 1.35;
}

.struk-info-banner-card--highlight .struk-info-banner-label {
    color: #991b1b;
}

.struk-info-banner-text {
    margin: 0;
    font-family: var(--font-primary, "Quattrocento Sans", sans-serif);
    font-size: 0.92rem;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.45;
}

.struk-info-banner-text strong {
    font-weight: 700;
    color: #0f172a;
}

@media (max-width: 991px) {
    .struk-info-banner-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .struk-info-banner {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .struk-info-banner-card {
        padding: 1.1rem 1.15rem;
        gap: 12px;
    }

    .struk-info-banner-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 1.05rem;
    }

    .struk-info-banner-text {
        font-size: 0.86rem;
    }
}

/* =========================================================
   2. FORM PENCARIAN (SIMPLE, CLEAN & COMPACT)
   ========================================================= */
.struk-form-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    padding: 1.75rem 2rem;
    box-sizing: border-box;
}

.struk-form-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.struk-form-group {
    display: flex;
    flex-direction: column;
}

.struk-form-label {
    font-family: var(--font-primary);
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.struk-required {
    color: var(--primary-maroon, #bd0808);
}

.struk-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.struk-input-icon {
    position: absolute;
    left: 12px;
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
    z-index: 2;
}

.struk-form-input {
    width: 100%;
    padding: 10px 12px 10px 38px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    background: #ffffff;
    transition: all 0.2s ease;
    box-sizing: border-box;
    height: 44px;
}

.struk-form-input:focus {
    outline: none;
    border-color: var(--primary-maroon, #bd0808);
    box-shadow: 0 0 0 3px rgba(189, 8, 8, 0.1);
}

.struk-input-card {
    letter-spacing: 0.8px;
}




.struk-input-clear-btn {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 4px;
    border-radius: 50%;
    z-index: 3;
}

.struk-input-clear-btn:hover {
    color: #0f172a;
}

.struk-field-hint {
    margin-top: 5px;
    font-size: 0.74rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}



/* Form Actions */
.struk-form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.struk-btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.2s ease;
}

.struk-btn-search {
    background: var(--primary-maroon, #bd0808);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(189, 8, 8, 0.2);
}

.struk-btn-search:hover:not(:disabled) {
    background: #000000;
    transform: translateY(-1px);
}

.struk-btn-reset {
    background: transparent;
    color: #64748b !important;
    padding: 11px 16px;
}

.struk-btn-reset:hover {
    color: #0f172a !important;
    background: #f1f5f9;
}

/* =========================================================
   3. HASIL PENCARIAN & STRUK FISIK (AUTHENTIC PAPER SLIP)
   ========================================================= */
.struk-results-container {
    margin-top: 2rem;
}

.struk-results-wrapper {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.struk-results-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 12px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    gap: 14px;
    flex-wrap: wrap;
}

.struk-results-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.struk-badge-success {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ecfdf5;
    color: #059669;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.struk-header-card-tag {
    font-size: 0.82rem;
    color: #334155;
    font-weight: 600;
}

.struk-btn-clean-sm {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155 !important;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.struk-btn-clean-sm:hover {
    background: #0f172a;
    color: #ffffff !important;
}

/* =========================================================
   3. AUTHENTIC e-TICKET FORMAT (THERMAL ROLL PAPER SIZE)
   ========================================================= */
.struk-eticket-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    width: 100%;
    margin: 0 auto;
}

.struk-eticket-card-container {
    width: 320px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.struk-eticket-card {
    width: 320px;
    max-width: 100%;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    padding: 14px 14px 12px;
    box-sizing: border-box;
    font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1f2937;
    position: relative;
    background-color: #ffffff;
    overflow: hidden;
}

/* Full Diagonal Security Watermark Pattern */
.eticket-watermark-pattern {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: rotate(-25deg);
    transform-origin: center center;
    opacity: 0.065;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.eticket-watermark-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin: 10px 0;
    white-space: nowrap;
    width: 100%;
}

.eticket-watermark-row:nth-child(even) {
    transform: translateX(-55px);
}

.eticket-watermark-row img {
    width: 80px;
    max-height: 35px;
    object-fit: contain;
    filter: grayscale(100%);
    display: block;
    flex-shrink: 0;
}

.eticket-header,
.eticket-divider-wrap,
.eticket-body,
.eticket-payment-box,
.eticket-footer {
    position: relative;
    z-index: 2;
}

/* Header */
.eticket-header {
    text-align: center;
    padding-bottom: 2px;
}

.eticket-logo {
    margin-bottom: 3px;
    display: flex;
    justify-content: center;
}

.eticket-logo img {
    max-height: 38px;
    width: auto;
    object-fit: contain;
}

.eticket-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #111827;
    margin: 2px 0 0 0;
}

/* Ticket Notch Divider */
.eticket-divider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    margin: 4px -14px 6px;
    height: 16px;
    overflow: hidden;
}

.eticket-notch {
    width: 16px;
    height: 16px;
    background-color: #f8fafc;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    position: absolute;
    top: 0;
    z-index: 2;
}

.eticket-notch.is-left {
    left: -8px;
}

.eticket-notch.is-right {
    right: -8px;
}

.eticket-dashed-line {
    width: 100%;
    border-top: 1px dashed #cbd5e1;
    margin: 0 14px;
}

/* Body Table (Clean e-Ticket Details) */
.eticket-body {
    margin-bottom: 6px;
}

.eticket-table {
    width: 100%;
    border-collapse: collapse;
}

.eticket-table tr {
    border-bottom: 1px solid #f1f5f9;
}

.eticket-table tr:last-child {
    border-bottom: none;
}

.eticket-table td {
    padding: 4px 2px;
    font-size: 11.5px;
    line-height: 1.35;
    vertical-align: middle;
}

.eticket-table td.label {
    color: #64748b;
    font-weight: 500;
    width: 44%;
}

.eticket-table td.value {
    color: #111827;
    font-weight: 700;
    text-align: right;
}

.eticket-exit-val {
    color: #111827 !important;
}

/* Payment Box (DIV Flex Layout - html2canvas compatible) */
.eticket-payment-box {
    display: flex;
    align-items: center;
    width: 100%;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin: 4px 0 6px 0;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.eticket-payment-col {
    flex: 1;
    padding: 6px 10px;
}

.eticket-payment-col.is-left {
    text-align: left;
}

.eticket-payment-col.is-right {
    text-align: right;
}

.eticket-payment-divider-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}

.eticket-payment-divider {
    width: 1px;
    height: 26px;
    background: #cbd5e1;
    display: block;
}

.eticket-payment-label {
    font-size: 10px;
    font-weight: 800;
    color: #475569;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1;
    margin: 0 0 2px 0;
    padding: 0;
}

.eticket-payment-val {
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
    margin: 0;
    padding: 0;
}

/* Footer */
.eticket-footer {
    text-align: center;
    padding-top: 4px;
}

.eticket-footer-note {
    font-size: 10px;
    color: #64748b;
    margin: 0 0 2px 0;
}

.eticket-footer-callcenter {
    font-size: 10.5px;
    color: #111827;
    margin: 0;
    font-weight: 600;
}

/* Action Buttons Underneath Card */
.struk-eticket-actions {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 12px;
}

.struk-btn-action-slip {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    font-family: var(--font-primary, "Quattrocento Sans", sans-serif);
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.struk-btn-slip-jpg {
    background: var(--primary-maroon, #bd0808);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(189, 8, 8, 0.2);
}

.struk-btn-slip-jpg:hover:not(:disabled) {
    background: #8e0606;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(189, 8, 8, 0.28);
}

/* Download All Button */
.struk-download-all-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    margin: 12px auto 6px;
}

/* Selection Toolbar */
.struk-selection-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    max-width: none;
    width: auto;
}

.struk-select-all-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 600;
    color: #334155;
    user-select: none;
    white-space: nowrap;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.15s ease;
}

.struk-select-all-label:hover {
    background: #e2e8f0;
}

.struk-select-all-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-maroon, #bd0808);
    cursor: pointer;
    margin: 0;
}

.struk-btn-download-selected {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-maroon, #bd0808);
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(189, 8, 8, 0.2);
    padding: 7px 14px !important;
    font-size: 0.8rem !important;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: var(--font-primary, "Quattrocento Sans", sans-serif);
}

.struk-btn-download-selected:hover:not(:disabled) {
    background: #8e0606;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(189, 8, 8, 0.3);
}

.struk-btn-download-selected:disabled {
    background: #e2e8f0;
    color: #94a3b8 !important;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

/* Card Checkbox */
.struk-eticket-card-container {
    position: relative;
}

.struk-card-checkbox-wrap {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.struk-card-checkbox-wrap input[type="checkbox"] {
    display: none;
}

.struk-card-checkbox-mark {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid #cbd5e1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: transparent;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.struk-card-checkbox-wrap:hover .struk-card-checkbox-mark {
    border-color: var(--primary-maroon, #bd0808);
}

.struk-card-checkbox-wrap input:checked+.struk-card-checkbox-mark {
    background: var(--primary-maroon, #bd0808);
    border-color: var(--primary-maroon, #bd0808);
    color: #ffffff;
}

.struk-eticket-card-container.is-selected {
    background: #fef2f2;
    border-radius: 12px;
}

.struk-btn-download-all {
    background: #ffffff;
    color: var(--primary-maroon, #bd0808) !important;
    border: 2px solid var(--primary-maroon, #bd0808) !important;
    box-shadow: 0 2px 8px rgba(189, 8, 8, 0.1);
}

.struk-btn-download-all:hover:not(:disabled) {
    background: var(--primary-maroon, #bd0808);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(189, 8, 8, 0.25);
}

.struk-btn-download-all:disabled {
    opacity: 0.7;
    cursor: wait;
}

/* =========================================================
   4. LOADING & EMPTY STATES (SIMPLE & CLEAN)
   ========================================================= */
.struk-clean-loading {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.struk-clean-loading .struk-loading-spinner {
    font-size: 2.2rem;
    color: var(--primary-maroon, #bd0808);
    margin-bottom: 12px;
}

.struk-clean-loading h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #0f172a;
}

.struk-clean-loading p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.struk-clean-empty-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1.5px dashed #cbd5e1;
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.struk-empty-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fef2f2;
    color: var(--primary-maroon, #bd0808);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 12px auto;
}

.struk-empty-icon.is-error {
    background: #fff1f2;
    color: #e11d48;
}

.struk-clean-empty-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.struk-clean-empty-card p {
    font-size: 0.88rem;
    color: #64748b;
    max-width: 500px;
    margin: 0 auto 1.25rem auto;
}

.struk-empty-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.struk-btn-clean {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    border: none;
}

.struk-btn-maroon {
    background: var(--primary-maroon, #bd0808);
    color: #ffffff !important;
}

.struk-btn-outline {
    background: #ffffff;
    color: #334155 !important;
    border: 1px solid #cbd5e1;
}

/* =========================================================
   5. RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
    .struk-form-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .struk-form-card {
        padding: 1.25rem;
    }

    .struk-form-actions {
        flex-direction: column;
    }

    .struk-btn-action {
        width: 100%;
    }

    .struk-physical-card-container {
        max-width: 100%;
    }

    .struk-results-wrapper {
        padding: 1rem;
    }

    .struk-results-header-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .struk-selection-toolbar {
        justify-content: space-between;
        width: 100%;
        padding-top: 10px;
        border-top: 1px solid #e2e8f0;
    }
}

/* =========================================================
   6. SEDANG DALAM PERBAIKAN / MAINTENANCE STATE (SIMPLE & CLEAN)
   ========================================================= */
.struk-maintenance-card {
    max-width: 580px;
    margin: 2rem auto;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    padding: 3.5rem 2.5rem;
    text-align: center;
    box-sizing: border-box;
}

.struk-maint-badge-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.struk-maint-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
    font-family: var(--font-primary, "Quattrocento Sans", sans-serif);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.2px;
}

.struk-maint-badge i {
    font-size: 0.82rem;
}

.struk-maint-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fef2f2;
    border: 2px solid #fee2e2;
    color: var(--primary-maroon, #bd0808);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem auto;
    transition: transform 0.3s ease;
}

.struk-maintenance-card:hover .struk-maint-icon-wrap {
    transform: rotate(-10deg) scale(1.05);
}

.struk-maint-title {
    font-family: var(--font-primary, "Quattrocento Sans", sans-serif);
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.struk-maint-desc {
    font-family: var(--font-primary, "Quattrocento Sans", sans-serif);
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0 auto 2rem auto;
    max-width: 460px;
}

.struk-maint-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.struk-maint-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary-maroon, #bd0808);
    color: #ffffff !important;
    padding: 11px 22px;
    border-radius: 8px;
    font-family: var(--font-primary, "Quattrocento Sans", sans-serif);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(189, 8, 8, 0.18);
}

.struk-maint-btn-primary:hover {
    background: #8e0606;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(189, 8, 8, 0.25);
}

.struk-maint-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    color: #334155 !important;
    border: 1.5px solid #cbd5e1;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: var(--font-primary, "Quattrocento Sans", sans-serif);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.struk-maint-btn-secondary:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a !important;
}

@media (max-width: 576px) {
    .struk-maintenance-card {
        padding: 2.25rem 1.25rem;
        margin: 1rem auto;
    }

    .struk-maint-actions {
        flex-direction: column;
        width: 100%;
    }

    .struk-maint-btn-primary,
    .struk-maint-btn-secondary {
        width: 100%;
        box-sizing: border-box;
    }
}

/* =========================================================
   SweetAlert2 Theme Customization for Struk Digital
   ========================================================= */
.swal2-popup.struk-swal-popup {
    font-family: var(--font-primary, "Quattrocento Sans", sans-serif);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.swal2-popup.struk-swal-popup .swal2-title {
    font-family: var(--font-primary, "Quattrocento Sans", sans-serif);
    font-weight: 700;
    color: #1e293b;
    font-size: 1.25rem;
}

.swal2-popup.struk-swal-popup .swal2-html-container {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
}

.swal2-popup.struk-swal-popup .swal2-confirm {
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 24px;
}