﻿.voucher-shell {
    width: min(1220px, calc(100% - 32px));
    margin: 40px auto 64px;
}

.voucher-hero {
    background: linear-gradient(180deg, rgba(11, 61, 84, 0.94), rgba(16, 86, 114, 0.94));
    border-radius: 24px;
    padding: 36px 28px 32px;
    color: #fff;
    box-shadow: 0 26px 60px rgba(3, 16, 27, 0.22);
}

.voucher-hero h1,
.voucher-order-card h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
}

.voucher-hero p,
.voucher-order-card p {
    margin: 0;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
}

.voucher-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
    align-items: stretch;
}

.voucher-card,
.voucher-order-card,
.voucher-status-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(219, 228, 240, 0.9);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.voucher-card {
    padding: 14px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.voucher-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    background: #0f172a;
}

.voucher-card-body {
    padding: 16px 10px 4px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.voucher-card-copy {
    display: grid;
    gap: 10px;
}

.voucher-card-title {
    margin: 0;
    color: #334155;
    font-size: 1.25rem;
    line-height: 1.25;
    min-height: 3.2em;
}

.voucher-card-text {
    display: block;
    margin: 0;
    padding: 12px 14px;
    color: #475569;
    line-height: 1.6;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    white-space: normal;
}

.voucher-field {
    display: grid;
    gap: 6px;
    margin-top: 12px;
}

.voucher-field-tight {
    margin-top: 0;
}

.voucher-field label {
    font-weight: 600;
    color: #334155;
}

.voucher-consent-field {
    margin-top: 18px;
    padding: 14px 16px;
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    border: 1px solid #dbe4ef;
    border-radius: 14px;
}

.voucher-consent-label {
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.5;
    font-weight: 500;
    color: #334155;
}

.voucher-consent-checkbox {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    accent-color: #1563bd;
}

.voucher-consent-label a {
    color: #1563bd;
    text-decoration: none;
    font-weight: 700;
}

.voucher-consent-label a:hover {
    text-decoration: underline;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.voucher-select,
.voucher-input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    color: #0f172a;
    background: #fff;
}

.voucher-button,
.voucher-link-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 14px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(180deg, #1d7be7, #1563bd);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    padding: 14px 18px;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 10px 22px rgba(29, 123, 231, 0.26);
}

.voucher-button:hover,
.voucher-link-button:hover {
    transform: translateY(-1px);
}

.voucher-variant-picker {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.voucher-button {
    margin-top: auto;
}

#voucherOrderForm .voucher-button {
    margin-top: 18px;
}

.voucher-variant-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
}

.voucher-summary-chip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    align-items: center;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.06);
    color: #334155;
}

.voucher-summary-chip strong {
    color: #0f172a;
    font-size: 0.95rem;
}

.voucher-summary-chip span {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    font-size: 0.86rem;
}

.voucher-meta-note {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #64748b;
}

.voucher-order-layout {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 520px);
    gap: 28px;
    align-items: start;
}

.voucher-order-card,
.voucher-status-card {
    padding: 26px;
}

.voucher-order-image {
    width: 100%;
    border-radius: 18px;
    display: block;
    background: #0f172a;
}

.voucher-summary {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    color: #334155;
}

.voucher-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
}

.voucher-summary-row strong {
    color: #0f172a;
}

.voucher-status-card h2 {
    margin: 0 0 12px;
    font-size: 1.8rem;
    color: #0f172a;
}

.voucher-status-note {
    padding: 14px 16px;
    border-radius: 14px;
    margin: 18px 0;
    line-height: 1.6;
}

.voucher-status-note.pending {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.voucher-status-note.paid {
    background: #ecfdf5;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.voucher-links {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.voucher-bank-copy {
    margin-top: 18px;
}

@media (max-width: 860px) {
    .voucher-order-layout {
        grid-template-columns: 1fr;
    }

    .voucher-hero {
        padding: 28px 20px 24px;
    }

    .voucher-consent-label {
        align-items: flex-start;
    }
}

@media (max-width: 1100px) {
    .voucher-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .voucher-grid {
        grid-template-columns: 1fr;
    }

    .voucher-card-title,
    .voucher-card-text {
        min-height: 0;
    }
}
