.vpmed-voucher-wrap {
    max-width: 980px;
    margin: 24px auto;
    font-family: Inter, Arial, sans-serif;
    color: #0f172a;
}

.vpmed-voucher-header-card,
.vpmed-voucher-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    margin-bottom: 18px;
}

.vpmed-voucher-header-card {
    background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%);
}

.vpmed-voucher-kicker {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #4f46e5;
    font-weight: 700;
    margin-bottom: 8px;
}

.vpmed-voucher-header-card h2,
.vpmed-voucher-card h3 {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.2;
}

.vpmed-voucher-card h3 {
    font-size: 24px;
}

.vpmed-subtitle {
    color: #475569;
    font-weight: 600;
}

.vpmed-form-row {
    display: flex;
    gap: 16px;
    align-items: end;
}

.vpmed-grow {
    flex: 1 1 auto;
}

.vpmed-btn-field {
    width: 180px;
}

.vpmed-field label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #334155;
}

.vpmed-field input,
.vpmed-field select {
    width: 100%;
    min-height: 50px;
    border-radius: 14px;
    border: 1px solid #cbd5e1;
    padding: 0 14px;
    font-size: 16px;
    box-sizing: border-box;
}

.vpmed-btn-primary {
    width: 100%;
    min-height: 50px;
    border: none;
    border-radius: 14px;
    background: #4f46e5;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.24);
}

.vpmed-btn-primary:hover {
    background: #4338ca;
}

.vpmed-help {
    color: #64748b;
    font-size: 14px;
    margin-top: 12px;
}

.vpmed-result-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
    margin-bottom: 16px;
}

.vpmed-pill {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.vpmed-pill-green { background: #dcfce7; color: #166534; }
.vpmed-pill-orange { background: #ffedd5; color: #9a3412; }
.vpmed-pill-red { background: #fee2e2; color: #991b1b; }
.vpmed-pill-gray { background: #e5e7eb; color: #374151; }

.vpmed-alert {
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-size: 15px;
}

.vpmed-alert-red { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.vpmed-alert-gray { background: #f8fafc; border: 1px solid #cbd5e1; color: #334155; }

.vpmed-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.vpmed-info-grid > div {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
}

.vpmed-info-label {
    display: block;
    color: #64748b;
    font-size: 13px;
    margin-bottom: 6px;
}

.vpmed-section-title {
    font-size: 18px;
    font-weight: 700;
    margin: 20px 0 12px;
}

.vpmed-service-list {
    display: grid;
    gap: 12px;
}

.vpmed-service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
}

.vpmed-service-name {
    font-weight: 700;
}

.vpmed-service-meta {
    font-size: 13px;
    color: #64748b;
    margin-top: 4px;
}

.vpmed-discount-badge {
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 700;
    white-space: nowrap;
}

.vpmed-redeem-box {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #cbd5e1;
}

.vpmed-redeem-box h3 {
    margin: 0 0 14px;
    font-size: 20px;
}

.vpmed-grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.vpmed-actions {
    margin-top: 16px;
}

.vpmed-required {
    color: #dc2626;
}

.vpmed-empty,
.vpmed-loading {
    padding: 18px;
    text-align: center;
    color: #64748b;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
}

@media (max-width: 768px) {
    .vpmed-form-row,
    .vpmed-result-head,
    .vpmed-service-item {
        flex-direction: column;
        align-items: stretch;
    }

    .vpmed-btn-field,
    .vpmed-info-grid,
    .vpmed-grid-two {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .vpmed-voucher-header-card h2,
    .vpmed-voucher-card h3 {
        font-size: 24px;
    }
}


.vpmed-actions-inline {
    display: flex;
    justify-content: flex-end;
}

.vpmed-btn-secondary {
    min-height: 44px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #fff;
    color: #0f172a;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    padding: 0 16px;
}

.vpmed-btn-secondary:hover {
    background: #f8fafc;
}


.vpmed-choice-group {
    display: grid;
    gap: 10px;
    margin-top: 6px;
}

.vpmed-choice-item {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
    font-weight: 600 !important;
}

.vpmed-choice-item input[type="radio"] {
    width: auto;
    min-height: auto;
    margin: 0;
}
