/* ============================================================
   PFM Public Pages — Sign-up, Spin Wheel, Redemption, Survey
   ============================================================ */

/* ---- Shared ---- */
.pfm-signup,
.pfm-wheel,
.pfm-redeem,
.pfm-survey {
    max-width: 480px;
    margin: 0 auto;
    padding: 24px 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #212121;
    line-height: 1.5;
}

/* ---- Buttons ---- */
.pfm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, transform 0.1s;
    -webkit-tap-highlight-color: transparent;
}

.pfm-btn:active { transform: scale(0.97); }

.pfm-btn--primary {
    background: #2e7d32;
    color: #fff;
    width: 100%;
    font-size: 1.05rem;
}

.pfm-btn--primary:hover { background: #1b5e20; }
.pfm-btn--primary:disabled { background: #bdbdbd; cursor: not-allowed; }

.pfm-btn--spin {
    background: #f44336;
    color: #fff;
    width: 100%;
    font-size: 1.3rem;
    padding: 18px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 16px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.4);
}

.pfm-btn--spin:hover { background: #d32f2f; }
.pfm-btn--spin:disabled { background: #bdbdbd; box-shadow: none; }

/* ---- Form fields ---- */
.pfm-field {
    margin-bottom: 16px;
}

.pfm-field label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: #212121;
}

.pfm-field input[type="text"],
.pfm-field input[type="tel"],
.pfm-field input[type="email"],
.pfm-field input[type="number"],
.pfm-field input[type="date"],
.pfm-field textarea,
.pfm-field select {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 2px solid #bdbdbd;
    border-radius: 8px;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.15s;
}

.pfm-field input:focus,
.pfm-field textarea:focus,
.pfm-field select:focus {
    outline: none;
    border-color: #2e7d32;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

.pfm-field input.pfm-invalid {
    border-color: #c62828;
}

.pfm-field__error {
    color: #c62828;
    font-size: 0.8rem;
    margin-top: 4px;
    display: none;
}

/* ---- Checkboxes / Consent ---- */
.pfm-consent {
    margin: 20px 0;
}

.pfm-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.4;
}

.pfm-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #2e7d32;
}

/* ---- Headers ---- */
.pfm-signup__header,
.pfm-wheel__header {
    text-align: center;
    margin-bottom: 24px;
}

.pfm-signup__header h2,
.pfm-wheel__header h2 {
    font-size: 1.5rem;
    color: #1b5e20;
    margin-bottom: 8px;
}

.pfm-signup__header p,
.pfm-wheel__header p {
    color: #616161;
    font-size: 0.95rem;
}

/* ---- Thank you / alerts ---- */
.pfm-signup__thanks {
    text-align: center;
    padding: 40px 20px;
}

.pfm-signup__thanks h3 {
    font-size: 1.4rem;
    color: #2e7d32;
    margin-bottom: 12px;
}

.pfm-signup__alert {
    background: #ffebee;
    color: #c62828;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-top: 16px;
    text-align: center;
}

/* ---- Spin Wheel ---- */
.pfm-wheel__stage {
    position: relative;
    text-align: center;
    margin: 16px auto;
    width: 340px;
}

.pfm-wheel__pointer {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 24px solid #d32f2f;
    z-index: 10;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

#pfm-wheel-canvas {
    display: block;
    margin: 0 auto;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* ---- Result / Prize ---- */
.pfm-wheel__result {
    text-align: center;
    padding: 24px 0;
}

.pfm-wheel__prize h3 {
    font-size: 1.3rem;
    color: #2e7d32;
    margin-bottom: 8px;
}

.pfm-wheel__amount {
    font-size: 3rem;
    font-weight: 900;
    color: #1b5e20;
    margin: 12px 0;
}

.pfm-wheel__prize p {
    color: #616161;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.pfm-wheel__qr {
    margin: 16px auto;
    display: flex;
    justify-content: center;
}

.pfm-wheel__qr canvas {
    border: 4px solid #e8f5e9;
    border-radius: 8px;
}

.pfm-wheel__expiry {
    font-size: 0.85rem;
    color: #757575;
    margin-top: 12px;
}

/* ---- Login prompt ---- */
.pfm-wheel__login-prompt {
    text-align: center;
    padding: 40px 20px;
}

.pfm-wheel__login-prompt h2 {
    color: #1b5e20;
    margin-bottom: 12px;
}

.pfm-wheel__login-prompt p {
    color: #616161;
    margin-bottom: 24px;
}

/* ============================================================
   Coupon Redemption Page
   ============================================================ */

.pfm-redeem__login,
.pfm-redeem__denied,
.pfm-redeem__empty {
    text-align: center;
    padding: 40px 20px;
}

.pfm-redeem__login h2,
.pfm-redeem__denied h2,
.pfm-redeem__empty h2 {
    color: #1b5e20;
    margin-bottom: 12px;
}

.pfm-redeem__login p,
.pfm-redeem__denied p,
.pfm-redeem__empty p {
    color: #616161;
    margin-bottom: 24px;
}

/* Status icons */
.pfm-redeem__icon {
    font-size: 4rem;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    text-align: center;
}

.pfm-redeem__icon--success {
    background: #e8f5e9;
    color: #2e7d32;
}

.pfm-redeem__icon--denied {
    background: #ffebee;
    color: #c62828;
}

/* Loading */
.pfm-redeem__loading {
    text-align: center;
    padding: 40px;
    color: #757575;
}

/* Coupon card */
.pfm-redeem__card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    padding: 24px;
    text-align: center;
}

.pfm-redeem__status-badge {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.pfm-redeem__status-badge--active   { background: #e8f5e9; color: #2e7d32; }
.pfm-redeem__status-badge--redeemed { background: #e3f2fd; color: #1565c0; }
.pfm-redeem__status-badge--expired  { background: #ffebee; color: #c62828; }

.pfm-redeem__amount {
    font-size: 3rem;
    font-weight: 900;
    color: #1b5e20;
    margin: 8px 0 16px;
}

.pfm-redeem__detail {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.95rem;
}

.pfm-redeem__label {
    color: #757575;
    font-weight: 600;
}

.pfm-btn--redeem {
    margin-top: 24px;
    font-size: 1.15rem;
    padding: 16px;
}

/* Success state */
.pfm-redeem__success {
    text-align: center;
    padding: 32px 20px;
}

.pfm-redeem__success h2 {
    color: #2e7d32;
    margin-bottom: 8px;
}

.pfm-redeem__timestamp {
    color: #757575;
    font-size: 0.85rem;
    margin-top: 8px;
}

/* ============================================================
   Survey Response Page
   ============================================================ */

.pfm-survey__header {
    text-align: center;
    margin-bottom: 24px;
}

.pfm-survey__header h2 {
    font-size: 1.5rem;
    color: #1b5e20;
    margin-bottom: 8px;
}

.pfm-survey__header p {
    color: #616161;
    font-size: 0.95rem;
}

.pfm-survey__error {
    text-align: center;
    padding: 40px 20px;
}

.pfm-survey__error h2 {
    color: #c62828;
    margin-bottom: 12px;
}

.pfm-survey__error p {
    color: #616161;
}

.pfm-survey__question {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
}

.pfm-survey__question:last-of-type {
    border-bottom: none;
}

.pfm-survey__question--invalid {
    border: 2px solid #c62828;
    border-radius: 8px;
    padding: 16px;
    margin-left: -16px;
    margin-right: -16px;
    background: #fff5f5;
}

.pfm-survey__question--invalid .pfm-survey__q-label {
    color: #c62828;
}

.pfm-survey__q-label {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    color: #212121;
    margin-bottom: 12px;
    line-height: 1.5;
}

.pfm-survey__input {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 2px solid #bdbdbd;
    border-radius: 8px;
    background: #fff;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.15s;
}

.pfm-survey__input:focus {
    outline: none;
    border-color: #2e7d32;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

/* Radio options (multiple choice) */
.pfm-survey__options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pfm-survey__radio {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: border-color 0.15s, background 0.15s;
}

.pfm-survey__radio:hover {
    border-color: #2e7d32;
    background: #f1f8e9;
}

.pfm-survey__radio input[type="radio"]:checked + * {
    color: #1b5e20;
    font-weight: 600;
}

.pfm-survey__radio:has(input:checked) {
    border-color: #2e7d32;
    background: #e8f5e9;
}

.pfm-survey__radio input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #2e7d32;
}

/* Rating scale (1-5) */
.pfm-survey__rating {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.pfm-survey__rating-btn {
    cursor: pointer;
}

.pfm-survey__rating-btn input[type="radio"] {
    display: none;
}

.pfm-survey__rating-btn span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    color: #616161;
    transition: all 0.15s;
}

.pfm-survey__rating-btn:hover span {
    border-color: #2e7d32;
    color: #2e7d32;
}

.pfm-survey__rating-btn input:checked + span {
    background: #2e7d32;
    color: #fff;
    border-color: #2e7d32;
}

/* Yes/No toggle buttons */
.pfm-survey__yesno {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.pfm-survey__toggle-btn {
    cursor: pointer;
}

.pfm-survey__toggle-btn input[type="radio"] {
    display: none;
}

.pfm-survey__toggle-btn span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 40px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    color: #616161;
    transition: all 0.15s;
}

.pfm-survey__toggle-btn:hover span {
    border-color: #2e7d32;
    color: #2e7d32;
}

.pfm-survey__toggle-btn input:checked + span {
    background: #2e7d32;
    color: #fff;
    border-color: #2e7d32;
}

/* ============================================================
   Survey — Additional Question Types
   ============================================================ */

/* Short answer (single line) */
.pfm-survey__short-answer {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 2px solid #bdbdbd;
    border-radius: 8px;
    background: #fff;
    font-family: inherit;
    transition: border-color 0.15s;
}

.pfm-survey__short-answer:focus {
    outline: none;
    border-color: #2e7d32;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

/* Checkboxes */
.pfm-survey__checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: border-color 0.15s, background 0.15s;
}

.pfm-survey__checkbox:hover {
    border-color: #2e7d32;
    background: #f1f8e9;
}

.pfm-survey__checkbox:has(input:checked) {
    border-color: #2e7d32;
    background: #e8f5e9;
}

.pfm-survey__checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #2e7d32;
}

/* Dropdown */
.pfm-survey__select {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 2px solid #bdbdbd;
    border-radius: 8px;
    background: #fff;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.15s;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23757575' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.pfm-survey__select:focus {
    outline: none;
    border-color: #2e7d32;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

/* Linear scale endpoint labels */
.pfm-survey__scale-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #757575;
    font-style: italic;
}

/* Grid (multiple choice grid + checkbox grid) */
.pfm-survey__grid-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pfm-survey__grid {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.pfm-survey__grid thead th {
    text-align: center;
    padding: 8px 12px;
    font-weight: 600;
    color: #424242;
    border-bottom: 2px solid #e0e0e0;
    font-size: 0.85rem;
}

.pfm-survey__grid thead th:first-child {
    text-align: left;
}

.pfm-survey__grid tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
}

.pfm-survey__grid-row-label {
    text-align: left !important;
    font-weight: 500;
    color: #212121;
    white-space: nowrap;
}

.pfm-survey__grid-cell input[type="radio"],
.pfm-survey__grid-cell input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #2e7d32;
    cursor: pointer;
}

.pfm-survey__grid tbody tr:hover {
    background: #f9fbe7;
}

/* Date & Time inputs */
.pfm-survey__date,
.pfm-survey__time {
    max-width: 280px;
}

/* ============================================================
   On-Site Survey Rewards
   ============================================================ */

.pfm-survey__reward {
    text-align: center;
    padding: 32px 20px;
}

.pfm-survey__reward h3 {
    font-size: 1.4rem;
    color: #2e7d32;
    margin-bottom: 8px;
}

.pfm-survey__reward-msg {
    color: #616161;
    font-size: 1rem;
    margin-bottom: 20px;
}

.pfm-survey__reward-coupon {
    background: #fff;
    border: 2px solid #a5d6a7;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.pfm-survey__reward-amount {
    font-size: 3rem;
    font-weight: 900;
    color: #1b5e20;
    margin-bottom: 12px;
}

.pfm-survey__reward-qr {
    display: flex;
    justify-content: center;
    margin: 16px 0;
}

.pfm-survey__reward-qr img {
    border: 4px solid #e8f5e9;
    border-radius: 8px;
}

.pfm-survey__reward-code {
    font-size: 0.85rem;
    color: #757575;
    font-family: monospace;
    margin-bottom: 4px;
}

.pfm-survey__reward-expiry {
    font-size: 0.85rem;
    color: #757575;
}

.pfm-survey__reward-signup {
    margin-top: 24px;
}

.pfm-survey__reward-signup p {
    color: #616161;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.pfm-survey__signup-btn {
    margin-bottom: 12px;
}

.pfm-survey__skip-btn {
    background: transparent;
    color: #757575;
    border: 2px solid #e0e0e0;
    width: 100%;
}

.pfm-survey__skip-btn:hover {
    border-color: #bdbdbd;
    color: #424242;
}

.pfm-survey__kiosk-reset {
    margin-top: 24px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
}

.pfm-survey__kiosk-reset p {
    color: #757575;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

/* ============================================================
   Vendor Sales & Reimbursement Pages
   ============================================================ */

.pfm-vendor-sales,
.pfm-vendor-reimb {
    max-width: 680px;
    margin: 0 auto;
    padding: 24px 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #212121;
    line-height: 1.5;
}

.pfm-vendor-sales__header,
.pfm-vendor-reimb__header {
    text-align: center;
    margin-bottom: 24px;
}

.pfm-vendor-sales__header h2,
.pfm-vendor-reimb__header h2 {
    font-size: 1.5rem;
    color: #1b5e20;
    margin-bottom: 8px;
}

.pfm-vendor-sales__total {
    text-align: center;
    font-size: 1.3rem;
    padding: 16px 0;
    color: #1b5e20;
}

.pfm-vendor-sales__success {
    text-align: center;
    padding: 40px 20px;
}

.pfm-vendor-sales__success h3 {
    color: #2e7d32;
    font-size: 1.3rem;
}

/* ---- Vendor Tables ---- */
.pfm-vendor-table-wrap {
    overflow-x: auto;
    margin: 16px 0;
}

.pfm-vendor-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.pfm-vendor-table th,
.pfm-vendor-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
    white-space: nowrap;
}

.pfm-vendor-table th {
    background: #f5f5f5;
    font-weight: 700;
    color: #424242;
}

.pfm-vendor-table tbody tr:hover {
    background: #fafafa;
}

.pfm-adjusted-indicator {
    color: #e65100;
    font-size: 1.1rem;
    margin-left: 4px;
    cursor: pointer;
}

.pfm-adj-entry {
    padding: 4px 0;
    font-size: 0.85rem;
    color: #616161;
}

/* ---- Status Badges (public) ---- */
.pfm-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.pfm-status--pending_review { background: #fff3e0; color: #e65100; }
.pfm-status--validated { background: #e6f4ea; color: #1b5e20; }
.pfm-status--rejected { background: #fce4ec; color: #b71c1c; }
.pfm-status--pending_vendor_signature { background: #fff3e0; color: #e65100; }
.pfm-status--completed { background: #e6f4ea; color: #1b5e20; }
.pfm-status--disputed { background: #fce4ec; color: #b71c1c; }
.pfm-status--voided { background: #f5f5f5; color: #757575; }

/* ---- Reimbursement Cards ---- */
.pfm-reimb-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.pfm-reimb-card__header h4 {
    margin: 0 0 12px 0;
    color: #1b5e20;
}

.pfm-reimb-card__amounts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.pfm-reimb-amount {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
}

.pfm-reimb-label {
    color: #757575;
    font-weight: 500;
}

.pfm-reimb-value {
    font-weight: 700;
}

.pfm-reimb-card__total {
    text-align: center;
    font-size: 1.2rem;
    color: #1b5e20;
    padding: 12px 0;
}

.pfm-reimb-card__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.pfm-reimb-done {
    text-align: center;
    color: #2e7d32;
    padding: 20px;
}

.pfm-vendor-reimb__empty {
    text-align: center;
    color: #757575;
    padding: 20px;
}

/* ---- Signature Pad ---- */
.pfm-signature-pad {
    margin: 16px 0;
}

.pfm-sig-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 12px;
}

.pfm-sig-tab {
    flex: 1;
    padding: 10px;
    border: 2px solid #e0e0e0;
    background: #f5f5f5;
    cursor: pointer;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.15s;
}

.pfm-sig-tab:first-child { border-radius: 8px 0 0 8px; }
.pfm-sig-tab:last-child { border-radius: 0 8px 8px 0; }

.pfm-sig-tab--active {
    background: #2e7d32;
    color: #fff;
    border-color: #2e7d32;
}

.pfm-sig-canvas-wrap {
    text-align: center;
}

.pfm-sig-canvas-wrap canvas {
    border: 2px solid #bdbdbd;
    border-radius: 8px;
    background: #fff;
    touch-action: none;
    cursor: crosshair;
}

.pfm-sig-clear {
    display: block;
    margin: 8px auto 0;
    padding: 6px 20px;
    border: 1px solid #bdbdbd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    font-size: 0.85rem;
}

.pfm-sig-typed-wrap {
    padding: 12px 0;
}

.pfm-sig-typed-input {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 2px solid #bdbdbd;
    border-radius: 8px;
    margin-bottom: 12px;
}

.pfm-sig-attestation {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
    cursor: pointer;
}

.pfm-sig-attestation input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #2e7d32;
}

/* ============================================================
   Multi-Spin Campaign — Spin Count, Instructions, Coupon History
   ============================================================ */

/* Spin count badge */
.pfm-spins-badge {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 700;
    background: #e8f5e9;
    color: #2e7d32;
}

.pfm-spins-badge--zero {
    background: #fff3e0;
    color: #e65100;
}

/* Spin instructions box */
.pfm-spin-instructions {
    background: #fff3e0;
    border: 1px solid #ffe0b2;
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    text-align: center;
    color: #e65100;
    font-size: 0.95rem;
    line-height: 1.5;
}

.pfm-spin-instructions p {
    margin: 0;
}

/* Coupon history cards */
.pfm-coupon-history {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 12px 0;
}

.pfm-coupon-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.pfm-coupon-card--active { border-color: #a5d6a7; }
.pfm-coupon-card--redeemed { border-color: #90caf9; }
.pfm-coupon-card--expired { border-color: #ef9a9a; }

.pfm-coupon-card__amount {
    font-size: 2rem;
    font-weight: 900;
    color: #1b5e20;
    margin-bottom: 4px;
}

.pfm-coupon-card__status {
    margin-bottom: 8px;
}

.pfm-coupon-card__qr {
    display: flex;
    justify-content: center;
    margin: 8px 0;
}

.pfm-coupon-card__expiry {
    font-size: 0.8rem;
    color: #757575;
}

/* Spin again button */
.pfm-btn--spin-again {
    background: #FF9800;
    color: #fff;
    width: 100%;
    font-size: 1.2rem;
    padding: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 16px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
}

.pfm-btn--spin-again:hover { background: #F57C00; }

/* ---- Responsive ---- */
@media (max-width: 400px) {
    .pfm-wheel__stage { width: 300px; }
    #pfm-wheel-canvas { width: 300px; height: 300px; }
    .pfm-wheel__amount { font-size: 2.2rem; }
    .pfm-redeem__amount { font-size: 2.2rem; }
    .pfm-survey__rating-btn span { width: 44px; height: 44px; font-size: 1rem; }
    .pfm-survey__toggle-btn span { padding: 12px 28px; }
    .pfm-reimb-card__amounts { grid-template-columns: 1fr; }
    .pfm-vendor-table { font-size: 0.78rem; }
    .pfm-vendor-table th, .pfm-vendor-table td { padding: 6px 6px; }
}
