/* =========================================================
   Tacky Saks Ambassador Program — Public Styles
   Safe, minimal, deploy-ready
   ========================================================= */

.tsa-ambassador-dashboard {
    margin-top: 12px;
}

/* Wrapper panels */
.tsa-claim-submit,
.tsa-ambassador-history {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    padding: 16px;
}

/* Headings */
.tsa-ambassador-dashboard h2 {
    margin-bottom: 10px;
}

.tsa-claim-submit h3,
.tsa-ambassador-history h3 {
    margin-top: 0;
}

/* Form elements */
.tsa-claim-submit select,
.tsa-claim-submit input[type="url"],
.tsa-claim-submit textarea {
    max-width: 520px;
    width: 100%;
    box-sizing: border-box;
}

/* Reward preview card */
#tsa_reward_preview {
    background: rgba(0,0,0,0.02);
}

/* Tables: keep spacing readable */
.tsa-ambassador-history table.shop_table td,
.tsa-ambassador-history table.shop_table th {
    padding: 10px;
}

/* =========================================================
   Reward List (Shortcode) — Note Cards
   ========================================================= */

.tsa-reward-list {
    display: grid;
    gap: 14px;
    margin: 18px 0;
}

.tsa-reward-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.tsa-reward-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.tsa-reward-card__title {
    margin: 0;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    text-align: left;
}

.tsa-reward-card__amount {
    font-weight: 700;
    white-space: nowrap;
    margin-left: auto;
    text-align: right;
}

.tsa-reward-card__desc {
    margin-top: 10px;
    line-height: 1.5;
    opacity: 0.9;
}

/* =========================================================
   Reward Instructions (NEW)
   ========================================================= */

.tsa-reward-card__instructions {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed rgba(0,0,0,0.12);
}

.tsa-reward-card__instructions-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.75;
    margin-bottom: 4px;
}

.tsa-reward-card__instructions-body {
    line-height: 1.5;
    opacity: 0.95;
}

/* Inactive rewards */
.tsa-reward-card--inactive {
    opacity: 0.6;
}

/* Small helper: long text wrap */
.tsa-ambassador-history td,
.tsa-ambassador-history th {
    word-break: break-word;
}

/*
Deployment readiness notes:
- Added explicit styling for reward instructions block.
- No selector conflicts with existing templates.
- No WooCommerce color overrides.
- Fully scoped under `.tsa-*`.
*/
