/* ============================================================
   tribute-payments.css
   Styles for: choose-plan page, tribute-cart page,
               payment-success page, payment-failed page
   ============================================================ */

/* ── Page wrapper ─────────────────────────────────────────── */
.tribute-plans-page,
.tribute-cart-page,
.tribute-payment-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.tribute-plans-page h1,
.tribute-cart-page h1,
.tribute-payment-page h1 {
    text-align: center;
    font-size: 28px;
    color: #222;
    margin-bottom: 10px;
}

.tribute-plans-page .page-subtitle {
    text-align: center;
    color: #666;
    font-size: 15px;
    margin-bottom: 40px;
}

/* ── Plan cards grid ──────────────────────────────────────── */
.tribute-plans-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    align-items: start;
}

@media (max-width: 1024px) {
    .tribute-plans-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .tribute-plans-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Single plan card ─────────────────────────────────────── */
.tribute-plan-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}

.tribute-plan-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

/* Card badge (header label) */
.plan-badge {
    padding: 14px 10px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    border-radius: 0;
}

/* Plan-specific badge colors */
.plan-badge.free     { background: #888; }
.plan-badge.silver   { background: linear-gradient(135deg, #a8a8a8, #d0d0d0); color: #333; }
.plan-badge.gold     { background: linear-gradient(135deg, #c9980a, #f5c842); color: #3a2800; }
.plan-badge.diamond  { background: linear-gradient(135deg, #1a5276, #2e86c1); }
.plan-badge.platinum { background: linear-gradient(135deg, #444, #888); }

/* Price row */
.plan-price {
    text-align: center;
    padding: 16px 10px 8px;
    font-size: 28px;
    font-weight: 700;
    color: #222;
}

.plan-price .currency {
    font-size: 16px;
    vertical-align: top;
    margin-top: 6px;
    display: inline-block;
    color: #555;
}

.plan-coverage {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888;
    padding: 0 10px 10px;
    border-bottom: 1px solid #f0f0f0;
}

/* Features list */
.plan-features {
    padding: 14px 16px;
    list-style: none;
    margin: 0;
    flex: 1;
}

.plan-features li {
    font-size: 13px;
    color: #444;
    padding: 5px 0 5px 20px;
    position: relative;
    line-height: 1.4;
    border-bottom: none;
}

.plan-features li::before {
    content: '»';
    position: absolute;
    left: 0;
    color: #DD183B;
    font-weight: bold;
}

.plan-features li strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #222;
    margin-top: 10px;
}

/* CTA button */
.plan-cta {
    padding: 14px 16px;
}

.btnSelectFree,
.btnSelectPlan {
    display: block;
    width: 100%;
    padding: 12px 10px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.1s;
}

.btnSelectFree,
.btnSelectFree:hover {
    background: #888;
    color: #fff !important;
}

.btnSelectPlan {
    background: #DD183B;
    color: #fff;
}

.btnSelectPlan:hover {
    background: #bb1230;
    color: #fff;
}

.btnSelectFree:disabled,
.btnSelectPlan:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Gold card highlight */
.tribute-plan-card.recommended {
    border-color: #c9980a;
    box-shadow: 0 4px 20px rgba(201,152,10,0.2);
}

.plan-recommended-tag {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #c9980a;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 0 0;
}

/* ── Cart page ───────────────────────────────────────────── */
.tribute-cart-box {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
}

.cart-header {
    background: #DD183B;
    color: #fff;
    padding: 20px 24px;
}

.cart-header h2 {
    margin: 0;
    font-size: 20px;
    color: #fff;
}

.cart-header p {
    margin: 4px 0 0;
    font-size: 13px;
    opacity: 0.85;
}

.cart-body {
    padding: 24px;
}

.cart-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #444;
}

.cart-row:last-of-type {
    border-bottom: none;
}

.cart-row .label {
    color: #888;
    font-size: 13px;
}

.cart-row.total-row {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    border-top: 2px solid #f0f0f0;
    margin-top: 10px;
    padding-top: 16px;
}

.cart-row.total-row .label {
    color: #222;
    font-size: 16px;
}

.cart-pay-section {
    padding: 0 24px 24px;
}

#btnPayNow {
    display: block;
    width: 100%;
    padding: 14px;
    background: #DD183B;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: 0.5px;
}

#btnPayNow:hover { background: #bb1230; }
#btnPayNow:disabled { opacity: 0.6; cursor: not-allowed; }

#cartPaymentMsg {
    margin-top: 12px;
    font-size: 13px;
    text-align: center;
    display: none;
}

.cart-back-link {
    display: block;
    text-align: center;
    margin-top: 14px;
    font-size: 13px;
    color: #888;
    text-decoration: none;
}

.cart-back-link:hover { color: #DD183B; }

.cart-secure-note {
    text-align: center;
    font-size: 11px;
    color: #aaa;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.cart-secure-note i { color: #1e8449; }

/* ── Success / Fail pages ────────────────────────────────── */
.tribute-payment-box {
    max-width: 460px;
    margin: 40px auto;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
}

.tribute-payment-box .payment-icon {
    font-size: 60px;
    margin-bottom: 16px;
}

.tribute-payment-box.success .payment-icon { color: #1e8449; }
.tribute-payment-box.failed  .payment-icon { color: #DD183B; }

.tribute-payment-box h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #222;
}

.tribute-payment-box p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.tribute-payment-box .btn-payment-action {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.btn-payment-action.primary { background: #DD183B; color: #fff; }
.btn-payment-action.primary:hover { background: #bb1230; color: #fff; }
.btn-payment-action.secondary { background: #f0f0f0; color: #444; margin-left: 10px; }
.btn-payment-action.secondary:hover { background: #e0e0e0; }
/* ══════════════════════════════════════════════════════════
   PLAN FEATURES — structured items (heading / sub / note / link / divider)
══════════════════════════════════════════════════════════ */

.plan-features-wrap {
    padding: 12px 14px 4px;
    flex: 1;
}

/* Section heading — bold title for each feature block */
.pf-heading {
    font-size: 12px;
    font-weight: 700;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.4;
    margin: 10px 0 4px;
    text-align: center;
}

.pf-heading:first-child {
    margin-top: 2px;
}

/* Sub-bullet line */
.pf-sub {
    font-size: 11px;
    color: #555;
    line-height: 1.4;
    padding: 2px 0 2px 14px;
    position: relative;
}

.pf-arrow {
    position: absolute;
    left: 0;
    color: #DD183B;
    font-weight: 700;
    font-size: 11px;
}

/* Small grey note */
.pf-note {
    font-size: 10px;
    color: #999;
    text-align: center;
    line-height: 1.4;
    margin: 3px 0 6px;
    font-style: italic;
}

/* Inline link (e.g. Know More, VIEW SAMPLE VIDEO) */
.pf-link {
    text-align: center;
    margin: 3px 0 6px;
}

.pf-link a {
    font-size: 11px;
    color: #DD183B;
    text-decoration: underline;
    font-weight: 600;
}

.pf-link a:hover {
    color: #bb1230;
}

/* Thin divider between feature sections */
.pf-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 8px 0;
}

/* Show More / Show Less toggle button */
.pf-toggle-btn {
    display: block;
    width: 100%;
    margin: 8px 0 6px;
    padding: 8px 10px;
    background: #f8f8f8;
    border: 1.5px solid #e0e0e0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #222;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    letter-spacing: 0.2px;
}

.pf-toggle-btn:hover {
    background: #fff0f2;
    border-color: #DD183B;
    color: #222;
}

.pf-toggle-btn.open {
    background: #fff5f7;
    border-color: #DD183B;
    color: #222;
}

/* Recommended card: highlight toggle button border only */
.tribute-plan-card.recommended .pf-toggle-btn {
    border-color: #c9980a;
    color: #222;
}

.tribute-plan-card.recommended .pf-toggle-btn:hover {
    background: #fffbe8;
    border-color: #c9980a;
    color: #222;
}

/* ── Price suffix fix ──────────────────────────────────── */
.plan-price-suffix {
    font-size: 14px;
    font-weight: 400;
    color: #888;
}

/* ── Razorpay note ─────────────────────────────────────── */
.plan-razorpay-note {
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
    color: #aaa;
}