/* ============================================================
   InsureReward Pro — Public CSS
   Premium Fintech UI | Glassmorphism | Neon Gradient
   ============================================================ */

/* ── CSS Variables ── */
:root {
    --irp-blue:       #1e3a8a;
    --irp-blue-mid:   #1d4ed8;
    --irp-cyan:       #0ea5e9;
    --irp-cyan-light: #38bdf8;
    --irp-gold:       #ffd700;
    --irp-gold-dark:  #d97706;
    --irp-green:      #059669;
    --irp-red:        #dc2626;
    --irp-purple:     #7c3aed;
    --irp-orange:     #ea580c;
    --irp-white:      #ffffff;
    --irp-glass:      rgba(255, 255, 255, 0.10);
    --irp-glass-border: rgba(255, 255, 255, 0.20);
    --irp-shadow:     0 8px 32px rgba(0, 0, 0, 0.18);
    --irp-shadow-glow:0 0 40px rgba(14, 165, 233, 0.25);
    --irp-radius:     16px;
    --irp-radius-sm:  8px;
    --irp-font:       'Segoe UI', system-ui, -apple-system, sans-serif;
    --irp-bg-dark:    #060d1f;
    --irp-bg-card:    #0a1628;
    --irp-text:       #e2e8f0;
    --irp-text-muted: #94a3b8;
    --irp-border:     rgba(255,255,255,0.08);
}

/* ── Base Wrap ── */
.irp-form-wrap,
.irp-steps-wrap,
.irp-dashboard-wrap,
.irp-leaderboard-wrap {
    font-family: var(--irp-font);
    color: #1e293b;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px 48px;
    position: relative;
}

/* ============================================================
   FLOATING ICON
   ============================================================ */
.irp-floating-icon {
    position: fixed;
    z-index: 99999;
    cursor: default;
    user-select: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    animation: irpFloat 3s ease-in-out infinite;
}
.irp-position-bottom-right { bottom: 24px; right: 20px; }
.irp-position-bottom-left  { bottom: 24px; left: 20px; }
.irp-position-top-right    { top: 24px;    right: 20px; }
.irp-position-top-left     { top: 24px;    left: 20px; }
.irp-position-bottom-left  .irp-float-sub-links,
.irp-position-top-left     .irp-float-sub-links { align-items: flex-start; }

.irp-float-glow {
    position: absolute;
    inset: -8px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--irp-cyan), var(--irp-gold));
    filter: blur(12px);
    opacity: 0.5;
    animation: irpPulse 2s ease-in-out infinite;
    z-index: -1;
}
.irp-float-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0a1628, #1e3a8a);
    border: 2px solid var(--irp-gold);
    border-radius: 50px;
    padding: 10px 18px 10px 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4), 0 0 0 2px rgba(255,215,0,0.2);
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}
.irp-float-inner:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 32px rgba(0,0,0,.5), 0 0 0 3px rgba(255,215,0,.4);
}
.irp-float-icon-wrap { width: 44px; height: 44px; flex-shrink: 0; }
.irp-shield-svg      { width: 44px; height: 44px; }
.irp-float-text      { display: flex; flex-direction: column; }
.irp-float-cta       { font-size: 12px; font-weight: 800; color: #ffd700; letter-spacing: 0.3px; white-space: nowrap; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.irp-float-amount    { font-size: 11px; color: rgba(255,255,255,0.75); white-space: nowrap; }
.irp-float-pulse     {
    position: absolute;
    top: -4px; right: -4px;
    width: 16px; height: 16px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid #fff;
    animation: irpBlink 1.4s ease-in-out infinite;
}
.irp-float-badge {
    position: absolute;
    top: -10px; left: -6px;
    font-size: 18px;
    animation: irpBounce 2s ease-in-out infinite;
}

/* ── Sub-links always visible below the floating button ── */
.irp-float-sub-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 6px;
    width: 100%;
}
.irp-fsl-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(10,22,40,.92), rgba(30,58,138,.88));
    border: 1px solid rgba(255,215,0,.3);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    color: #ffd700;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, border-color .15s, transform .15s;
    letter-spacing: .2px;
    text-shadow: 0 1px 3px rgba(0,0,0,.4);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.irp-fsl-item:hover {
    background: linear-gradient(135deg, rgba(255,215,0,.18), rgba(255,215,0,.1));
    border-color: #ffd700;
    color: #fff;
    transform: translateX(2px);
}

/* ============================================================
   COUNTDOWN BANNER
   ============================================================ */
.irp-countdown-banner {
    background: linear-gradient(90deg, #1e3a8a, #7c3aed, #0ea5e9);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--irp-radius);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
    animation: irpShimmer 3s linear infinite;
    background-size: 200% 100%;
}
.irp-count-icon { font-size: 18px; animation: irpBounce 1s ease-in-out infinite; }
.irp-countdown-timer {
    margin-left: auto;
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-family: monospace;
    font-size: 16px;
    letter-spacing: 2px;
}

/* ============================================================
   FORM HERO
   ============================================================ */
.irp-form-hero {
    text-align: center;
    padding: 40px 24px 32px;
    background: linear-gradient(135deg, var(--irp-blue) 0%, #1d4ed8 50%, var(--irp-cyan) 100%);
    border-radius: var(--irp-radius);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}
.irp-form-hero::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,215,0,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.irp-hero-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid var(--irp-gold);
    color: var(--irp-gold);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    animation: irpPulse 2.5s ease-in-out infinite;
}
.irp-hero-title {
    color: #fff;
    font-size: clamp(24px, 5vw, 38px);
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.2;
}
.irp-hero-sub { color: rgba(255,255,255,0.85); font-size: 16px; margin: 0 0 24px; }
.irp-hero-sub strong { color: var(--irp-gold); }

.irp-trust-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.irp-trust-item {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* ============================================================
   COUNTERS
   ============================================================ */
.irp-counters-row {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 28px;
    background: #fff;
    border-radius: var(--irp-radius);
    box-shadow: var(--irp-shadow);
    overflow: hidden;
}
.irp-counter-item {
    flex: 1;
    text-align: center;
    padding: 20px 12px;
    border-right: 1px solid #f1f5f9;
}
.irp-counter-item:last-child { border-right: none; }
.irp-counter-num {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--irp-blue);
    line-height: 1;
}
.irp-counter-label { font-size: 12px; color: #64748b; font-weight: 600; margin-top: 4px; display: block; }

/* ============================================================
   FORM CARD
   ============================================================ */
.irp-form-card {
    background: #fff;
    border-radius: var(--irp-radius);
    box-shadow: var(--irp-shadow);
    overflow: hidden;
    margin-bottom: 32px;
}
.irp-form-card-header {
    background: linear-gradient(135deg, #f8faff, #eef2ff);
    padding: 28px 32px 20px;
    border-bottom: 1px solid #e5e7eb;
}
.irp-form-card-header h2 { margin: 0 0 4px; color: var(--irp-blue); font-size: 22px; }
.irp-form-card-header p  { margin: 0; color: #64748b; font-size: 14px; }

/* Progress Bar */
.irp-progress-wrap {
    height: 4px;
    background: #e5e7eb;
    position: relative;
}
.irp-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--irp-blue), var(--irp-cyan));
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
    border-radius: 0 4px 4px 0;
}
.irp-step-indicators {
    display: flex;
    padding: 12px 32px;
    gap: 0;
    background: #f8faff;
    border-bottom: 1px solid #e5e7eb;
}
.irp-step-ind {
    flex: 1;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    padding: 6px 4px;
    border-radius: 6px;
    transition: all 0.3s;
}
.irp-step-ind.active { color: var(--irp-blue); background: rgba(30,58,138,0.08); }
.irp-step-ind.done   { color: var(--irp-green); }

/* Form Steps */
.irp-form-step { display: none; padding: 28px 32px; position: relative; z-index: 1; }
.irp-form-step.active { display: block; }

/* All action buttons inside form steps are always fully clickable */
.irp-form-step button,
#irpSubmitBtn {
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
    cursor: pointer !important;
}
#irpSubmitBtn:disabled { opacity: 0.7; cursor: not-allowed !important; }

.irp-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}
.irp-field-full { grid-column: 1 / -1; }

.irp-field-group { display: flex; flex-direction: column; }
.irp-field-group label {
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.irp-req     { color: #ef4444; }
.irp-optional{ font-size: 11px; color: #9ca3af; font-weight: 400; }

.irp-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.irp-input-icon {
    position: absolute;
    left: 12px;
    font-size: 16px;
    pointer-events: none;
    z-index: 1;
}
.irp-input-prefix {
    position: absolute;
    left: 36px;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    pointer-events: none;
    z-index: 1;
}
.irp-input-wrap input,
.irp-input-wrap textarea,
.irp-input-wrap select {
    width: 100%;
    padding: 11px 14px 11px 36px;
    border: 2px solid #e5e7eb;
    border-radius: var(--irp-radius-sm);
    font-size: 14px;
    font-family: var(--irp-font);
    color: #1e293b;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
}
.irp-input-prefix ~ input { padding-left: 72px; }
.irp-input-wrap input:focus,
.irp-input-wrap textarea:focus {
    border-color: var(--irp-cyan);
    box-shadow: 0 0 0 3px rgba(14,165,233,0.12);
}
.irp-input-wrap input.irp-error { border-color: #ef4444; }
.irp-field-error { font-size: 12px; color: #ef4444; margin-top: 4px; display: none; }
.irp-field-error.visible { display: block; }
.irp-field-hint  { font-size: 12px; color: #94a3b8; margin-top: 4px; }

/* Insurance Type Selector */
.irp-insurance-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 6px;
}
.irp-insurance-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 8px;
    border: 2px solid #e5e7eb;
    border-radius: var(--irp-radius-sm);
    cursor: pointer;
    transition: all 0.2s;
    background: #f8faff;
}
.irp-insurance-option:hover  { border-color: var(--irp-cyan); background: rgba(14,165,233,0.06); }
.irp-insurance-option.active { border-color: var(--irp-blue); background: rgba(30,58,138,0.06); box-shadow: 0 0 0 3px rgba(30,58,138,0.12); }
.irp-ins-icon  { font-size: 28px; }
.irp-ins-label { font-size: 12px; font-weight: 600; color: #374151; text-align: center; }

/* File Upload / Dropzone */
.irp-upload-label { font-size: 13px; font-weight: 700; color: #374151; display: block; margin-bottom: 8px; }
.irp-dropzone {
    border: 2px dashed #cbd5e1;
    border-radius: var(--irp-radius);
    padding: 36px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #f8faff;
    position: relative;
}
.irp-dropzone:hover,
.irp-dropzone.drag-over { border-color: var(--irp-cyan); background: rgba(14,165,233,0.06); }
.irp-dropzone-icon { font-size: 36px; margin-bottom: 8px; }
.irp-dropzone-text { font-size: 14px; color: #374151; line-height: 1.6; }
.irp-dropzone-hint { font-size: 12px; color: #94a3b8; margin-top: 8px; }

.irp-file-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}
.irp-file-preview {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e5e7eb;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.irp-file-preview img { width: 100%; height: 100%; object-fit: cover; }
.irp-file-preview .irp-pdf-prev { font-size: 28px; }
.irp-file-preview .irp-remove-file {
    position: absolute;
    top: 2px; right: 2px;
    background: #ef4444;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 18px; height: 18px;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Buttons */
.irp-btn-primary-big {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--irp-blue), var(--irp-cyan));
    color: #fff;
    border: none;
    border-radius: var(--irp-radius-sm);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    font-family: var(--irp-font);
    box-shadow: 0 4px 16px rgba(30,58,138,0.35);
}
.irp-btn-primary-big:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(30,58,138,0.45); opacity: 0.95; color: #fff; }
.irp-btn-secondary-big {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: #f1f5f9;
    color: #374151;
    border: 2px solid #e5e7eb;
    border-radius: var(--irp-radius-sm);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    font-family: var(--irp-font);
}
.irp-btn-secondary-big:hover { border-color: var(--irp-cyan); color: var(--irp-cyan); }

.irp-step-nav { display: flex; gap: 12px; margin-top: 24px; align-items: center; }

/* Submit button */
.irp-btn-submit { min-width: 200px; }
.irp-spinner {
    display: inline-block;
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: irpSpin 0.7s linear infinite;
    vertical-align: middle;
}

/* Consent */
.irp-consent-check {
    background: #f8faff;
    border: 1px solid #e2e8f0;
    border-radius: var(--irp-radius-sm);
    padding: 14px 16px;
    margin-bottom: 20px;
}
.irp-consent-check label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    line-height: 1.5;
}
.irp-consent-check input[type=checkbox] { margin-top: 2px; flex-shrink: 0; accent-color: var(--irp-blue); width: 16px; height: 16px; }

/* Form Success / Error */
.irp-form-success {
    text-align: center;
    padding: 48px 32px;
}
.irp-success-circle {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 20px;
    animation: irpBounce 0.6s ease;
    box-shadow: 0 0 0 12px rgba(16,185,129,0.12);
}
.irp-form-success h2 { color: var(--irp-blue); margin-bottom: 12px; }
.irp-form-success p  { color: #64748b; max-width: 480px; margin: 0 auto 24px; }
.irp-success-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.irp-form-error-msg {
    background: #fef2f2;
    border: 2px solid #fca5a5;
    border-radius: var(--irp-radius-sm);
    color: #dc2626;
    padding: 14px 20px;
    margin: 16px 32px;
    font-size: 14px;
    font-weight: 600;
}

/* ============================================================
   SPIN WHEEL
   ============================================================ */
.irp-spin-section {
    background: linear-gradient(135deg, #0a1628, #1e3a8a);
    border-radius: var(--irp-radius);
    padding: 36px 24px;
    text-align: center;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}
.irp-spin-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(14,165,233,0.2) 0%, transparent 60%);
}
.irp-spin-section h3 { color: var(--irp-gold); font-size: 22px; margin-bottom: 8px; position: relative; }
.irp-spin-section p  { color: rgba(255,255,255,0.7); margin-bottom: 24px; position: relative; }
.irp-wheel-wrap { position: relative; display: inline-block; margin-bottom: 16px; }
#irpWheelCanvas { border-radius: 50%; box-shadow: 0 0 40px rgba(14,165,233,0.4); display: block; }
.irp-wheel-pointer {
    position: absolute;
    top: -16px; left: 50%;
    transform: translateX(-50%);
    font-size: 28px;
    color: var(--irp-gold);
    text-shadow: 0 0 10px var(--irp-gold);
    z-index: 10;
}
.irp-spin-btn {
    position: relative;
    font-size: 17px !important;
    padding: 16px 36px !important;
    background: linear-gradient(135deg, var(--irp-gold-dark), var(--irp-gold)) !important;
    color: #1a0000 !important;
    box-shadow: 0 0 24px rgba(255,215,0,0.5) !important;
    animation: irpPulse 2s ease-in-out infinite;
}
.irp-spin-result {
    margin-top: 16px;
    font-size: 20px;
    font-weight: 700;
    color: var(--irp-gold);
    min-height: 28px;
    position: relative;
}

/* ============================================================
   STEPS PAGE
   ============================================================ */
.irp-steps-hero {
    text-align: center;
    padding: 48px 24px 36px;
}
.irp-steps-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(30,58,138,0.12), rgba(14,165,233,0.12));
    border: 1px solid rgba(14,165,233,0.35);
    color: var(--irp-blue);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}
.irp-steps-title { font-size: clamp(26px, 4vw, 40px); font-weight: 800; color: var(--irp-blue); margin: 0 0 12px; }
.irp-steps-sub   { font-size: 16px; color: #64748b; max-width: 520px; margin: 0 auto; }

.irp-steps-timeline { display: flex; flex-direction: column; gap: 0; margin-bottom: 40px; }

.irp-step-card {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: #fff;
    border-radius: var(--irp-radius);
    padding: 32px 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s cubic-bezier(0.4,0,0.2,1);
    border-left: 5px solid transparent;
}
.irp-step-card.irp-visible { opacity: 1; transform: translateX(0); }
.irp-step-card[data-step="1"] { border-left-color: var(--irp-blue); }
.irp-step-card[data-step="2"] { border-left-color: var(--irp-cyan); }
.irp-step-card[data-step="3"] { border-left-color: var(--irp-gold-dark); }
.irp-step-card[data-step="4"] { border-left-color: var(--irp-green); }

.irp-step-number {
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    color: #f1f5f9;
    position: absolute;
    top: 16px; right: 20px;
    font-variant-numeric: tabular-nums;
}
.irp-step-icon-wrap {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 50%;
    padding: 6px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}
.irp-step-icon-wrap svg { width: 100%; height: 100%; }

.irp-step-content { flex: 1; }
.irp-step-content h3 { font-size: 20px; font-weight: 800; color: #1e293b; margin: 0 0 8px; }
.irp-step-content p  { font-size: 14px; color: #64748b; margin: 0 0 14px; line-height: 1.6; }

.irp-step-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.irp-step-tags span {
    background: #f1f5f9;
    color: #374151;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.irp-step-connector { display: flex; justify-content: center; padding: 6px 0; }
.irp-connector-line {
    width: 3px;
    height: 32px;
    background: linear-gradient(180deg, #e5e7eb, #cbd5e1);
    border-radius: 4px;
}

/* Steps CTA */
.irp-steps-cta {
    background: linear-gradient(135deg, var(--irp-blue), var(--irp-blue-mid), var(--irp-cyan));
    border-radius: var(--irp-radius);
    padding: 48px 24px;
    text-align: center;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}
.irp-steps-cta::after {
    content: '🛡️';
    position: absolute;
    right: -10px; top: -20px;
    font-size: 120px;
    opacity: 0.08;
}
.irp-steps-cta-inner { position: relative; }
.irp-steps-cta h3   { color: #fff; font-size: 28px; margin: 0 0 10px; }
.irp-steps-cta p    { color: rgba(255,255,255,0.8); margin: 0 0 24px; }
.irp-cta-big-btn    { font-size: 17px !important; padding: 16px 36px !important; }

/* FAQ */
.irp-faq-section { margin-top: 32px; }
.irp-faq-section h3 { color: var(--irp-blue); font-size: 22px; margin-bottom: 16px; }
.irp-faq-item { border: 1px solid #e5e7eb; border-radius: var(--irp-radius-sm); margin-bottom: 8px; overflow: hidden; }
.irp-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #1e293b;
    background: #fff;
    font-size: 15px;
    gap: 12px;
}
.irp-faq-question:hover { background: #f8faff; }
.irp-faq-toggle { font-size: 20px; color: var(--irp-blue); transition: transform 0.3s; flex-shrink: 0; }
.irp-faq-item.open .irp-faq-toggle { transform: rotate(45deg); }
.irp-faq-answer {
    display: none;
    padding: 0 20px;
    background: #f8faff;
    border-top: 1px solid #e5e7eb;
}
.irp-faq-answer p { padding: 14px 0; color: #64748b; font-size: 14px; line-height: 1.6; margin: 0; }

/* ============================================================
   DASHBOARD
   ============================================================ */
.irp-login-gate {
    text-align: center;
    padding: 60px 24px;
    background: #fff;
    border-radius: var(--irp-radius);
    box-shadow: var(--irp-shadow);
}
.irp-login-icon    { font-size: 56px; margin-bottom: 16px; }
.irp-login-gate h2 { color: var(--irp-blue); margin-bottom: 8px; }
.irp-login-gate p  { color: #64748b; margin-bottom: 24px; }
.irp-login-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.irp-dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    background: linear-gradient(135deg, #0a1628, #1e3a8a);
    color: #fff;
    border-radius: var(--irp-radius);
    padding: 28px 28px;
    margin-bottom: 20px;
}
.irp-dash-user-info { display: flex; align-items: center; gap: 16px; }
.irp-dash-avatar {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--irp-cyan), var(--irp-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}
.irp-dash-header h2 { color: #fff; margin: 0 0 4px; font-size: 20px; }
.irp-dash-header p  { color: rgba(255,255,255,0.6); margin: 0; font-size: 14px; }

.irp-dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
.irp-dash-stat-placeholder { /* old rules moved to v3 block below */ }

/* Referral Card */
.irp-referral-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #fef9c3, #fef3c7);
    border: 2px solid var(--irp-gold);
    border-radius: var(--irp-radius);
    padding: 24px;
    margin-bottom: 20px;
}
.irp-ref-icon    { font-size: 36px; }
.irp-ref-content { flex: 1; }
.irp-ref-content h3 { margin: 0 0 6px; color: #92400e; font-size: 17px; }
.irp-ref-content p  { margin: 0 0 14px; color: #78350f; font-size: 14px; }
.irp-ref-link-wrap { display: flex; gap: 8px; }
.irp-ref-input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid #fbbf24;
    border-radius: var(--irp-radius-sm);
    font-size: 13px;
    font-family: monospace;
    background: rgba(255,255,255,0.8);
    min-width: 0;
}

/* Notifications */
.irp-notifications-panel {
    background: #fff;
    border-radius: var(--irp-radius);
    padding: 20px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    margin-bottom: 20px;
}
.irp-notifications-panel h3 { margin: 0 0 16px; color: var(--irp-blue); font-size: 17px; display: flex; align-items: center; gap: 8px; }
.irp-notif-count {
    background: #ef4444;
    color: #fff;
    border-radius: 20px;
    padding: 1px 8px;
    font-size: 12px;
    font-weight: 700;
}
.irp-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}
.irp-notif-item:last-child { border-bottom: none; }
.irp-notif-icon { font-size: 20px; }
.irp-notif-body p    { margin: 0 0 3px; font-size: 14px; color: #374151; }
.irp-notif-body small{ color: #94a3b8; font-size: 12px; }

/* Claims List */
.irp-claims-section {
    background: #fff;
    border-radius: var(--irp-radius);
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    margin-bottom: 24px;
}
.irp-claims-section h3 { margin: 0 0 20px; color: var(--irp-blue); font-size: 18px; }

.irp-claim-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
}
.irp-claim-row:last-of-type { border-bottom: none; }
.irp-claim-ins-icon { font-size: 28px; flex-shrink: 0; }
.irp-claim-info { flex: 1; min-width: 0; }
.irp-claim-info strong { display: block; color: #1e293b; font-size: 15px; }
.irp-claim-meta { font-size: 12px; color: #94a3b8; }
.irp-claim-reward { text-align: right; flex-shrink: 0; }
.irp-reward-amount  { font-size: 16px; font-weight: 800; color: var(--irp-green); }
.irp-reward-pending { font-size: 13px; color: #94a3b8; }
.irp-claim-status-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex-shrink: 0; }
.irp-claim-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.irp-status-pending  { background: #fef3c7; color: #d97706; }
.irp-status-approved { background: #d1fae5; color: #059669; }
.irp-status-rejected { background: #fee2e2; color: #dc2626; }
.irp-status-sent     { background: #dbeafe; color: #1d4ed8; }
.irp-txn-id { font-size: 11px; color: #94a3b8; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.irp-claim-expand-btn { flex-shrink: 0; color: #94a3b8; font-size: 12px; }

.irp-claim-details { padding: 0 0 0 42px; }
.irp-claim-detail-inner {
    background: #f8faff;
    border-radius: var(--irp-radius-sm);
    padding: 16px;
    margin-bottom: 12px;
}
.irp-cd-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
    border-bottom: 1px solid #e5e7eb;
}
.irp-cd-row:last-child { border-bottom: none; }
.irp-cd-row span { color: #64748b; }
.irp-cd-row strong { color: #1e293b; text-align: right; }
.irp-cd-highlight { background: #d1fae5; border-radius: 6px; padding: 10px 14px; font-size: 13px; color: #065f46; margin-top: 8px; }
.irp-cd-notes strong { color: var(--irp-orange); }

/* Empty State */
.irp-empty-claims {
    text-align: center;
    padding: 40px 24px;
}
.irp-empty-icon { font-size: 52px; margin-bottom: 12px; }
.irp-empty-claims h3 { color: #374151; margin-bottom: 8px; }
.irp-empty-claims p  { color: #94a3b8; margin-bottom: 20px; }

/* Scratch Card */
.irp-scratch-section {
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    border-radius: var(--irp-radius);
    padding: 32px 24px;
    text-align: center;
    margin-bottom: 24px;
}
.irp-scratch-section h3 { color: var(--irp-gold); font-size: 20px; margin-bottom: 8px; }
.irp-scratch-section p  { color: rgba(255,255,255,0.7); margin-bottom: 20px; }
.irp-scratch-card { position: relative; display: inline-block; border-radius: 16px; overflow: hidden; }
#irpScratchCanvas  { display: block; cursor: crosshair; border-radius: 16px; }
.irp-scratch-reveal {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fef9c3, #fef3c7);
    border-radius: 16px;
    z-index: -1;
}
.irp-scratch-prize { font-size: 28px; font-weight: 800; color: var(--irp-gold-dark); }
.irp-scratch-reveal small { font-size: 12px; color: #92400e; margin-top: 4px; }

/* ============================================================
   LEADERBOARD
   ============================================================ */
.irp-lb-header { text-align: center; padding: 36px 24px 24px; }
.irp-lb-header h2 { color: var(--irp-blue); font-size: 30px; margin-bottom: 8px; }
.irp-lb-header p  { color: #64748b; }

.irp-podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 12px;
    padding: 24px;
    margin-bottom: 24px;
}
.irp-podium-item { text-align: center; min-width: 100px; }
.irp-podium-crown { font-size: 24px; margin-bottom: 4px; }
.irp-podium-avatar { font-size: 36px; margin-bottom: 6px; }
.irp-podium-name   { font-size: 13px; font-weight: 700; color: #1e293b; margin-bottom: 4px; }
.irp-podium-amount { font-size: 16px; font-weight: 800; color: var(--irp-blue); margin-bottom: 8px; }
.irp-podium-bar    { border-radius: 4px 4px 0 0; }

.irp-lb-table-wrap { overflow-x: auto; }
.irp-lb-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.irp-lb-table th {
    background: linear-gradient(135deg, var(--irp-blue), var(--irp-blue-mid));
    color: #fff;
    padding: 14px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
.irp-lb-table td { padding: 14px 16px; border-bottom: 1px solid #f1f5f9; }
.irp-lb-row:hover { background: #f8faff; }
.irp-lb-me   { background: rgba(14,165,233,0.06) !important; }
.irp-lb-top  { font-weight: 600; }
.irp-lb-rank { font-size: 20px; }
.irp-lb-user { display: flex; align-items: center; gap: 10px; }
.irp-lb-avatar {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--irp-blue), var(--irp-cyan));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}
.irp-lb-you    { font-size: 11px; background: #dbeafe; color: #1d4ed8; padding: 2px 6px; border-radius: 10px; font-weight: 700; }
.irp-lb-amount strong { color: var(--irp-blue); }
.irp-lb-empty  { text-align: center; padding: 40px; }

/* ============================================================
   SOCIAL PROOF POPUP
   ============================================================ */
.irp-social-proof {
    position: fixed;
    bottom: 100px;
    left: 20px;
    z-index: 99998;
    max-width: 280px;
}
.irp-proof-toast {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    border-left: 4px solid var(--irp-green);
    animation: irpSlideIn 0.4s ease, irpFadeOut 0.4s ease 4s forwards;
    margin-bottom: 8px;
}
.irp-proof-icon { font-size: 22px; flex-shrink: 0; }
.irp-proof-text strong { display: block; color: #1e293b; }
.irp-proof-text span   { color: #64748b; font-size: 12px; }

/* Inline Icon Button */
.irp-inline-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--irp-blue), var(--irp-cyan));
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(30,58,138,0.3);
    transition: all 0.2s;
}
.irp-inline-icon-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(30,58,138,0.4); color: #fff; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes irpFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}
@keyframes irpPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.85; transform: scale(1.03); }
}
@keyframes irpBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}
@keyframes irpBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}
@keyframes irpSpin {
    to { transform: rotate(360deg); }
}
@keyframes irpShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@keyframes irpSlideIn {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes irpFadeOut {
    from { opacity: 1; }
    to   { opacity: 0; pointer-events: none; }
}
@keyframes irpCounterUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
    .irp-field-grid          { grid-template-columns: 1fr; }
    .irp-field-full          { grid-column: 1; }
    .irp-insurance-selector  { grid-template-columns: repeat(2, 1fr); }
    .irp-form-step           { padding: 20px 16px; }
    .irp-form-card-header    { padding: 20px 16px 16px; }
    .irp-step-indicators     { padding: 10px 16px; gap: 2px; }
    .irp-step-ind            { font-size: 11px; padding: 4px 2px; }
    .irp-step-nav            { flex-direction: column; }
    .irp-btn-primary-big,
    .irp-btn-secondary-big   { width: 100%; justify-content: center; }
    .irp-dash-stats          { grid-template-columns: repeat(2, 1fr); }
    .irp-claim-row           { flex-wrap: wrap; }
    .irp-claim-status-wrap   { width: 100%; align-items: flex-start; }
    .irp-step-card           { flex-direction: column; gap: 16px; padding: 20px 16px; }
    .irp-floating-icon .irp-float-text { display: none; }
    .irp-float-inner         { padding: 10px; border-radius: 50%; }
    .irp-float-sub-links     { display: none; }    .irp-podium              { gap: 8px; }
    .irp-podium-item         { min-width: 80px; }
    .irp-ref-link-wrap       { flex-direction: column; }
    .irp-referral-card       { flex-direction: column; text-align: center; }
}
@media (max-width: 420px) {
    .irp-counters-row        { flex-direction: column; border-radius: 0; }
    .irp-counter-item        { border-right: none; border-bottom: 1px solid #f1f5f9; }
    .irp-insurance-selector  { grid-template-columns: repeat(2, 1fr); }
}


/* ================================================================
   DASHBOARD + AUTH + PROFILE — Clean v3 (no conflicts)
   ================================================================ */

/* ── CSS custom props already in :root above ── */

/* ================================================================
   AUTH WRAP
   ================================================================ */
.irp-auth-wrap {
    max-width: 520px;
    margin: 0 auto;
    padding: 0 0 40px;
    font-family: var(--irp-font);
    color: #1e293b;
}
.irp-auth-embedded { max-width: 100%; }

/* Already-logged-in box */
.irp-auth-loggedin { max-width: 100%; }
.irp-ali-box {
    background: #fff;
    border-radius: var(--irp-radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--irp-shadow);
}
.irp-ali-check { font-size: 52px; display: block; margin-bottom: 12px; animation: irpBounce .6s ease; }
.irp-ali-box h3 { color: var(--irp-blue); margin: 0 0 20px; font-size: 18px; }
.irp-ali-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Auth Hero (standalone page) ── */
.irp-auth-hero { text-align: center; padding: 40px 20px 28px; }
.irp-auth-shield-anim {
    display: inline-block; width: 72px; height: 82px;
    margin-bottom: 16px;
    animation: irpFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 8px 20px rgba(14,165,233,.45));
}
.irp-auth-shield-anim svg { width: 100%; height: 100%; }
.irp-auth-hero-title { font-size: clamp(22px,5vw,30px); font-weight: 800; color: var(--irp-blue); margin: 0 0 8px; }
.irp-auth-hero-sub   { color: #64748b; font-size: 15px; margin: 0 0 20px; }

/* Animated pills */
.irp-auth-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.irp-auth-pill {
    background: linear-gradient(135deg,rgba(30,58,138,.08),rgba(14,165,233,.08));
    border: 1px solid rgba(14,165,233,.3);
    color: var(--irp-blue);
    padding: 5px 14px; border-radius: 20px;
    font-size: 12px; font-weight: 700;
    animation: irpFadeUp .5s ease both;
}
@keyframes irpFadeUp {
    from { opacity:0; transform:translateY(14px); }
    to   { opacity:1; transform:translateY(0); }
}

/* ── Auth Card ── */
.irp-auth-card {
    background: #fff;
    border-radius: var(--irp-radius);
    box-shadow: var(--irp-shadow);
    overflow: hidden;
    animation: irpSlideUp .4s cubic-bezier(.4,0,.2,1) both;
    margin-bottom: 16px;
}
@keyframes irpSlideUp {
    from { opacity:0; transform:translateY(24px); }
    to   { opacity:1; transform:translateY(0); }
}

/* Card top (reset panel header) */
.irp-auth-card-top { text-align: center; padding: 28px 28px 0; }
.irp-auth-card-icon { font-size: 42px; margin-bottom: 8px; }
.irp-auth-card-top h2 { color: var(--irp-blue); margin: 0 0 6px; }
.irp-auth-card-top p  { color: #64748b; font-size: 14px; margin: 0 0 4px; }

/* Tab bar */
.irp-auth-tabs {
    display: flex;
    background: linear-gradient(135deg,#f8faff,#eef2ff);
    border-bottom: 2px solid #e5e7eb;
}
.irp-auth-tab {
    flex: 1; padding: 16px 12px;
    background: none; border: none;
    font-size: 15px; font-weight: 700; color: #64748b;
    cursor: pointer; font-family: var(--irp-font);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all .2s;
}
.irp-auth-tab.active { color: var(--irp-blue); border-bottom-color: var(--irp-blue); background: #fff; }
.irp-auth-tab:hover:not(.active) { color: var(--irp-blue); background: rgba(30,58,138,.04); }

/* Panels */
.irp-auth-panels-wrap { position: relative; }
.irp-auth-panel { display: none; }
.irp-auth-panel.active { display: block; }

/* Card body */
.irp-auth-card-body { padding: 24px 28px 28px; }

/* Auth fields */
.irp-auth-field { margin-bottom: 16px; }
.irp-auth-field label {
    display: block; font-size: 13px; font-weight: 700;
    color: #374151; margin-bottom: 6px;
}
.irp-auth-field-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.irp-auth-input-wrap {
    position: relative; display: flex; align-items: center;
}
.irp-auth-input-wrap input {
    width: 100%; padding: 11px 42px 11px 38px;
    border: 2px solid #e5e7eb; border-radius: var(--irp-radius-sm);
    font-size: 14px; font-family: var(--irp-font);
    color: #1e293b; background: #fff;
    transition: border-color .2s, box-shadow .2s;
    outline: none; box-sizing: border-box;
}
.irp-auth-input-wrap input:focus {
    border-color: var(--irp-cyan);
    box-shadow: 0 0 0 3px rgba(14,165,233,.12);
}
.irp-input-readonly input { background: #f8faff; color: #94a3b8; cursor: not-allowed; }
.irp-auth-icon {
    position: absolute; left: 12px; font-size: 15px;
    pointer-events: none; z-index: 1;
}
.irp-auth-prefix {
    position: absolute; left: 36px;
    font-size: 13px; font-weight: 700; color: #64748b;
    pointer-events: none; z-index: 1;
}
.irp-auth-prefix ~ input { padding-left: 72px; }
.irp-pw-toggle {
    position: absolute; right: 10px;
    background: none; border: none; cursor: pointer;
    font-size: 16px; padding: 4px; color: #94a3b8; line-height: 1;
}
.irp-pw-toggle:hover { color: var(--irp-blue); }

/* Password strength */
.irp-pw-strength { margin-top: 6px; display: flex; align-items: center; gap: 8px; }
.irp-pw-bar {
    flex: 1; height: 4px; background: #e5e7eb;
    border-radius: 4px; overflow: hidden; position: relative;
}
.irp-pw-bar::after {
    content: ''; position: absolute; left:0; top:0; bottom:0;
    width: var(--pw-width,0%); background: var(--pw-color,#e5e7eb);
    border-radius: 4px; transition: width .3s, background .3s;
}
.irp-pw-label { font-size: 11px; font-weight: 700; color: var(--pw-color,#94a3b8); white-space: nowrap; }
.irp-pw-match-msg { font-size: 12px; margin-top: 4px; display: block; font-weight: 600; }

/* Row (remember + forgot) */
.irp-auth-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.irp-auth-remember { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #374151; cursor: pointer; }
.irp-auth-remember input { accent-color: var(--irp-blue); width: 15px; height: 15px; }
.irp-forgot-link {
    background: none; border: none; color: var(--irp-cyan);
    font-size: 13px; font-weight: 600; cursor: pointer;
    text-decoration: underline; padding: 0; font-family: var(--irp-font);
}
.irp-auth-checkbox-label {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 13px; color: #374151; cursor: pointer; line-height: 1.5;
}
.irp-auth-checkbox-label input { margin-top: 2px; accent-color: var(--irp-blue); flex-shrink: 0; }

/* Submit button */
.irp-auth-submit-btn {
    width: 100%; padding: 14px;
    background: linear-gradient(135deg,var(--irp-blue),var(--irp-cyan));
    color: #fff; border: none; border-radius: var(--irp-radius-sm);
    font-size: 15px; font-weight: 700; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--irp-font);
    box-shadow: 0 4px 16px rgba(30,58,138,.3);
    margin-bottom: 12px; transition: all .2s;
}
.irp-auth-submit-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(30,58,138,.4); }
.irp-auth-submit-btn:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.irp-auth-secondary-btn {
    width: 100%; padding: 12px;
    background: #f1f5f9; color: #374151;
    border: 2px solid #e2e8f0; border-radius: var(--irp-radius-sm);
    font-size: 14px; font-weight: 700; cursor: pointer;
    font-family: var(--irp-font); transition: all .2s;
}
.irp-auth-secondary-btn:hover { border-color: var(--irp-cyan); color: var(--irp-blue); }

/* Divider */
.irp-auth-divider {
    text-align: center; position: relative;
    margin: 16px 0; color: #94a3b8; font-size: 13px;
}
.irp-auth-divider::before,
.irp-auth-divider::after {
    content: ''; position: absolute; top: 50%;
    width: 35%; height: 1px; background: #e5e7eb;
}
.irp-auth-divider::before { left: 0; }
.irp-auth-divider::after  { right: 0; }

/* Forgot panel */
.irp-auth-forgot-body { text-align: center; }
.irp-forgot-icon-big { font-size: 48px; display: block; margin-bottom: 10px; animation: irpBounce 2s ease-in-out infinite; }
.irp-auth-forgot-body h3 { color: var(--irp-blue); margin: 0 0 8px; font-size: 19px; }
.irp-auth-forgot-body p  { color: #64748b; font-size: 14px; margin: 0 0 20px; }
.irp-auth-forgot-body .irp-auth-field { text-align: left; }

/* Auth global message */
.irp-auth-msg {
    display: none; padding: 12px 18px;
    border-radius: var(--irp-radius-sm);
    margin-bottom: 14px;
    font-size: 14px; font-weight: 600; text-align: center;
    animation: irpFadeUp .3s ease;
}
.irp-auth-msg.success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.irp-auth-msg.error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* Benefits strip */
.irp-auth-benefits {
    display: flex; background: #fff;
    border-radius: var(--irp-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    overflow: hidden; margin-top: 16px;
}
.irp-auth-benefit {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; gap: 4px;
    padding: 14px 8px; font-size: 12px; font-weight: 600;
    color: #374151; border-right: 1px solid #f1f5f9; text-align: center;
}
.irp-auth-benefit:last-child { border-right: none; }
.irp-auth-benefit span:first-child { font-size: 22px; }

/* ================================================================
   DASHBOARD — GUEST STATE
   ================================================================ */
.irp-dashboard-wrap {
    max-width: 920px; margin: 0 auto;
    padding: 0 16px 48px; font-family: var(--irp-font); color: #1e293b;
}
.irp-dash-guest { max-width: 920px; }

/* Guest hero */
.irp-dash-guest-hero {
    display: flex; align-items: center; gap: 28px;
    background: linear-gradient(135deg,#0a1628 0%,#1e3a8a 60%,#0369a1 100%);
    border-radius: var(--irp-radius); padding: 36px 32px;
    margin-bottom: 20px; position: relative; overflow: hidden;
}
.irp-dash-guest-hero::after {
    content:'🛡️'; position:absolute; right:-10px; bottom:-20px;
    font-size:130px; opacity:.06; line-height:1; pointer-events:none;
}
.irp-dgh-shield {
    width: 80px; height: 90px; flex-shrink: 0;
    filter: drop-shadow(0 0 20px rgba(14,165,233,.5));
    animation: irpFloat 3s ease-in-out infinite;
}
.irp-dgh-shield svg { width: 100%; height: 100%; }
.irp-dgh-text h1 { color:#fff; font-size:clamp(18px,4vw,26px); margin:0 0 8px; font-weight:800; }
.irp-dgh-text p  { color:rgba(255,255,255,.75); font-size:14px; margin:0 0 16px; line-height:1.6; max-width:480px; }
.irp-dgh-features { display:flex; flex-wrap:wrap; gap:8px; }
.irp-dgh-features span {
    background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.2);
    color:#fff; padding:5px 12px; border-radius:20px; font-size:12px; font-weight:600;
}

/* Mini 4-step tracker (guest) */
.irp-dash-track-steps {
    display: flex; align-items: center; justify-content: center;
    background: #fff; border-radius: var(--irp-radius);
    padding: 18px 24px; margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07); gap: 0;
}
.irp-dts-item { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; }
.irp-dts-num {
    width: 36px; height: 36px;
    background: linear-gradient(135deg,var(--irp-blue),var(--irp-cyan));
    color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800;
}
.irp-dts-label { font-size: 11px; font-weight: 600; color: #64748b; text-align: center; white-space: nowrap; }
.irp-dts-line {
    flex: 1; height: 3px; min-width: 24px; max-width: 80px;
    background: linear-gradient(90deg,var(--irp-blue),var(--irp-cyan));
    border-radius: 3px; margin: 0 4px; margin-bottom: 22px;
}

/* ================================================================
   DASHBOARD — LOGGED-IN HEADER
   ================================================================ */
.irp-dash-header {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
    background: linear-gradient(135deg,#0a1628,#1e3a8a);
    border-radius: var(--irp-radius); padding: 24px 28px; margin-bottom: 20px;
}
.irp-dash-user-info { display: flex; align-items: center; gap: 16px; min-width: 0; }
.irp-dash-avatar {
    width: 52px; height: 52px;
    background: linear-gradient(135deg,var(--irp-cyan),var(--irp-gold));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 800; color: #fff; flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(255,255,255,.15);
}
.irp-dash-user-text h2 { color:#fff; margin:0 0 3px; font-size:17px; font-weight:700; }
.irp-dash-user-text p  { color:rgba(255,255,255,.6); margin:0; font-size:12px; }
.irp-dash-header-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* Header action buttons */
.irp-hdr-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 18px; border-radius: var(--irp-radius-sm);
    font-size: 13px; font-weight: 700; cursor: pointer;
    text-decoration: none; border: none; font-family: var(--irp-font);
    transition: all .2s; white-space: nowrap; line-height: 1.4;
}
.irp-hdr-btn-primary   { background:linear-gradient(135deg,var(--irp-cyan),#38bdf8); color:#fff; box-shadow:0 3px 12px rgba(14,165,233,.4); }
.irp-hdr-btn-secondary { background:rgba(255,255,255,.12); color:#fff; border:1px solid rgba(255,255,255,.25); }
.irp-hdr-btn-logout    { background:rgba(239,68,68,.15); color:#fca5a5; border:1px solid rgba(239,68,68,.3); padding:9px 14px; }
.irp-hdr-btn:hover { transform:translateY(-1px); opacity:.9; }

/* ================================================================
   DASHBOARD — STAT CARDS
   ================================================================ */
.irp-dash-stats {
    display: grid; grid-template-columns: repeat(4,1fr);
    gap: 14px; margin-bottom: 20px;
}
.irp-dash-stat {
    background: #fff; border-radius: var(--irp-radius);
    padding: 20px 16px; text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    border-top: 4px solid var(--sc,var(--irp-blue));
    transition: transform .2s, box-shadow .2s;
}
.irp-dash-stat:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,0,0,.12); }
.irp-ds-icon-wrap { font-size: 26px; margin-bottom: 8px; }
.irp-ds-num   { font-size: 26px; font-weight: 800; color: var(--sc,var(--irp-blue)); display:block; line-height:1; }
.irp-ds-label { font-size: 11px; color: #64748b; font-weight: 600; margin-top: 4px; display:block; }

/* ================================================================
   DASHBOARD — NOTIFICATIONS
   ================================================================ */
.irp-notif-panel {
    background: #fff; border-radius: var(--irp-radius);
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    margin-bottom: 20px; overflow: hidden;
}
.irp-notif-panel-hdr {
    display: flex; align-items: center; gap: 10px;
    padding: 15px 20px;
    background: linear-gradient(135deg,#f8faff,#eef2ff);
    border-bottom: 1px solid #e5e7eb;
    font-weight: 700; color: var(--irp-blue); font-size: 15px;
}
.irp-notif-badge {
    background: #ef4444; color: #fff;
    border-radius: 20px; padding: 1px 8px;
    font-size: 11px; font-weight: 700;
}
.irp-notif-row {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 13px 20px; border-bottom: 1px solid #f8faff;
}
.irp-notif-row:last-child { border-bottom: none; }
.irp-notif-ico { font-size: 20px; flex-shrink: 0; }
.irp-notif-txt p    { margin: 0 0 3px; font-size: 13px; color: #374151; }
.irp-notif-txt small{ color: #94a3b8; font-size: 11px; }
.irp-notif-reward_sent,.irp-notif-approved { background: #f0fdf4; }
.irp-notif-rejected { background: #fef2f2; }

/* ================================================================
   DASHBOARD — REFERRAL CARD
   ================================================================ */
.irp-referral-card {
    display: flex; align-items: center; gap: 20px;
    background: linear-gradient(135deg,#fef9c3,#fef3c7);
    border: 2px solid var(--irp-gold); border-radius: var(--irp-radius);
    padding: 22px 24px; margin-bottom: 20px;
}
.irp-ref-icon { font-size: 36px; flex-shrink: 0; }
.irp-ref-content { flex: 1; min-width: 0; }
.irp-ref-content h3 { margin: 0 0 5px; color: #92400e; font-size: 16px; }
.irp-ref-content p  { margin: 0 0 12px; color: #78350f; font-size: 13px; }
.irp-ref-link-wrap { display: flex; gap: 8px; }
.irp-ref-input {
    flex: 1; padding: 9px 12px;
    border: 2px solid #fbbf24; border-radius: var(--irp-radius-sm);
    font-size: 12px; font-family: monospace;
    background: rgba(255,255,255,.8); min-width: 0;
    outline: none;
}
.irp-ref-copy-btn {
    padding: 9px 16px; background: var(--irp-gold-dark); color: #fff;
    border: none; border-radius: var(--irp-radius-sm);
    font-size: 13px; font-weight: 700; cursor: pointer;
    font-family: var(--irp-font); white-space: nowrap; flex-shrink: 0;
    transition: all .2s;
}
.irp-ref-copy-btn:hover { background: #b45309; }

/* ================================================================
   DASHBOARD — CLAIMS SECTION
   ================================================================ */
.irp-claims-section {
    background: #fff; border-radius: var(--irp-radius);
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    margin-bottom: 24px; overflow: hidden;
}
.irp-claims-section-hdr {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px 0; border-bottom: 1px solid #f1f5f9; padding-bottom: 16px;
}
.irp-claims-section-hdr h3 { margin: 0; color: var(--irp-blue); font-size: 17px; }

/* Filter tabs */
.irp-claim-filter-tabs {
    display: flex; gap: 6px; padding: 12px 20px 10px;
    border-bottom: 1px solid #f1f5f9; overflow-x: auto;
    scrollbar-width: none; background: #fafbff;
}
.irp-claim-filter-tabs::-webkit-scrollbar { display: none; }
.irp-cft {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 14px; background: none;
    border: 2px solid transparent; border-radius: 20px;
    font-size: 12px; font-weight: 600; color: #64748b;
    cursor: pointer; white-space: nowrap;
    font-family: var(--irp-font); transition: all .2s; flex-shrink: 0;
}
.irp-cft span { background:#e5e7eb; color:#64748b; border-radius:10px; padding:1px 7px; font-size:10px; }
.irp-cft.active { border-color:var(--irp-blue); color:var(--irp-blue); background:rgba(30,58,138,.06); }
.irp-cft.active span { background:var(--irp-blue); color:#fff; }

/* ── Claim card ── */
.irp-claim-card {
    border-bottom: 1px solid #f1f5f9;
    transition: background .15s;
}
.irp-claim-card:last-child { border-bottom: none; }
.irp-claim-card:hover { background: #fafbff; }

.irp-cc-head {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 20px; cursor: pointer; user-select: none;
}
.irp-cc-ins-icon { font-size: 26px; flex-shrink: 0; }
.irp-cc-info { flex: 1; min-width: 0; }
.irp-cc-info strong { display: block; color: #1e293b; font-size: 14px; font-weight: 700; }
.irp-cc-meta {
    display: flex; flex-wrap: wrap; gap: 4px;
    font-size: 11px; color: #94a3b8; margin-top: 2px;
}
.irp-cc-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.irp-cc-reward-val { font-size: 16px; font-weight: 800; color: var(--irp-green); }
.irp-cc-reward-est { font-size: 11px; color: #94a3b8; }
.irp-cc-chevron { color: #94a3b8; font-size: 11px; flex-shrink: 0; transition: transform .25s; margin-left: 4px; }
.irp-cc-head:hover .irp-cc-chevron { color: var(--irp-blue); }

/* Status pill */
.irp-claim-status-pill {
    display: inline-flex; align-items: center; gap: 3px;
    padding: 3px 10px; border-radius: 20px;
    font-size: 11px; font-weight: 700; white-space: nowrap;
}
.irp-status-pending  { background:#fef3c7; color:#d97706; }
.irp-status-approved { background:#d1fae5; color:#059669; }
.irp-status-rejected { background:#fee2e2; color:#dc2626; }
.irp-status-sent     { background:#dbeafe; color:#1d4ed8; }

/* ── Progress timeline ── */
.irp-claim-progress {
    display: flex; align-items: center;
    padding: 8px 24px 12px; gap: 0;
}
.irp-prog-step {
    display: flex; flex-direction: column; align-items: center;
    gap: 4px; flex-shrink: 0; position: relative; z-index: 1;
}
.irp-prog-circle {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800;
    background: #e5e7eb; color: #94a3b8;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.1);
    transition: background .3s, color .3s;
}
.irp-prog-step.done .irp-prog-circle {
    background: linear-gradient(135deg,var(--irp-blue),var(--irp-cyan));
    color: #fff; font-size: 14px;
}
.irp-prog-step.active .irp-prog-circle {
    background: linear-gradient(135deg,var(--irp-gold-dark),var(--irp-gold));
    color: #fff;
    box-shadow: 0 0 0 4px rgba(217,119,6,.2);
    animation: irpPulse 1.8s ease-in-out infinite;
}
.irp-prog-label { font-size: 10px; color: #94a3b8; font-weight: 600; white-space: nowrap; }
.irp-prog-step.done .irp-prog-label,
.irp-prog-step.active .irp-prog-label { color: var(--irp-blue); }
.irp-prog-line {
    flex: 1; height: 3px; background: #e5e7eb;
    border-radius: 3px; margin: 0 4px; margin-bottom: 16px;
    transition: background .4s ease;
}
.irp-prog-line.done {
    background: linear-gradient(90deg,var(--irp-blue),var(--irp-cyan));
}

/* ── Expandable claim details ── */
.irp-claim-expand {
    max-height: 0; overflow: hidden;
    transition: max-height .38s cubic-bezier(.4,0,.2,1);
    background: #f8faff;
}
.irp-claim-expand.open { max-height: 1000px; }

.irp-cexp-inner { padding: 16px 20px 20px; border-top: 1px solid #e5e7eb; }

.irp-cdet-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    margin-bottom: 14px;
}
.irp-cdet-row {
    display: flex; justify-content: space-between; align-items: flex-start;
    padding: 7px 0; border-bottom: 1px solid #e5e7eb;
    font-size: 12px; gap: 12px;
}
.irp-cdet-row:last-child { border-bottom: none; }
.irp-cdet-row > span  { color: #64748b; flex-shrink: 0; }
.irp-cdet-row > strong{ color: #1e293b; text-align: right; word-break: break-all; }
.irp-cdet-txn > strong{ font-family: monospace; font-size: 11px; color: var(--irp-blue); }

/* Uploaded files */
.irp-cdet-files-label { font-size: 12px; font-weight: 700; color: #64748b; margin: 12px 0 8px; }
.irp-cdet-files { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.irp-cdet-file {
    display: flex; flex-direction: column; align-items: center;
    gap: 4px; text-decoration: none; width: 64px;
}
.irp-cdet-file img {
    width: 64px; height: 64px; object-fit: cover;
    border-radius: 8px; border: 2px solid #e5e7eb; transition: border-color .2s;
}
.irp-cdet-file:hover img { border-color: var(--irp-cyan); }
.irp-cdet-pdf-icon {
    width: 64px; height: 64px; background: #f1f5f9; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; border: 2px solid #e5e7eb;
}
.irp-cdet-file-label { font-size: 10px; color: #94a3b8; font-weight: 600; }

/* Callout boxes */
.irp-cdet-callout {
    border-radius: 0 6px 6px 0; padding: 10px 14px;
    font-size: 13px; margin-bottom: 8px;
}
.irp-callout-approved { background:#d1fae5; border-left:4px solid #059669; color:#065f46; }
.irp-callout-sent     { background:linear-gradient(135deg,#dbeafe,#ede9fe); border-left:4px solid #0ea5e9; color:#1e3a8a; font-weight:600; }
.irp-callout-rejected { background:#fee2e2; border-left:4px solid #dc2626; color:#991b1b; }
.irp-callout-note     { background:#fef9c3; border-left:4px solid #d97706; color:#78350f; }

/* Empty filter / no claims */
.irp-claims-empty-filter { padding:24px; text-align:center; color:#94a3b8; font-size:15px; }
.irp-empty-claims { padding: 48px 24px; text-align: center; }
.irp-empty-anim   { font-size: 56px; display:block; margin-bottom:12px; animation:irpBounce 2s ease-in-out infinite; }
.irp-empty-claims h3 { color:#374151; margin-bottom:8px; }
.irp-empty-claims p  { color:#94a3b8; margin-bottom:20px; font-size:14px; }

/* ── Next step CTA (after registration) ── */
.irp-dash-next-step {
    background: linear-gradient(135deg,#1e3a8a,#0ea5e9);
    border-radius: var(--irp-radius); padding: 24px 28px;
    margin-bottom: 20px; display: flex; align-items: center; gap: 20px;
}
.irp-dns-icon { font-size: 44px; flex-shrink: 0; animation: irpBounce 2s ease-in-out infinite; }
.irp-dns-text h3 { color: #fff; margin: 0 0 6px; font-size: 18px; }
.irp-dns-text p  { color: rgba(255,255,255,.8); margin: 0 0 14px; font-size: 14px; }

/* ================================================================
   PROFILE
   ================================================================ */
.irp-profile-wrap {
    max-width: 720px; margin: 0 auto;
    padding: 0 16px 48px; font-family: var(--irp-font); color: #1e293b;
}
.irp-profile-hero {
    display: flex; align-items: center; gap: 24px;
    background: linear-gradient(135deg,#0a1628,#1e3a8a);
    border-radius: var(--irp-radius); padding: 28px;
    margin-bottom: 20px; flex-wrap: wrap;
}
.irp-profile-avatar-big {
    width: 72px; height: 72px;
    background: linear-gradient(135deg,var(--irp-cyan),var(--irp-gold));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 28px; font-weight: 800; color: #fff; flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(255,255,255,.15);
}
.irp-profile-hero-info h2 { color:#fff; margin:0 0 4px; font-size:20px; }
.irp-profile-hero-info p  { color:rgba(255,255,255,.6); margin:0 0 10px; font-size:13px; }
.irp-profile-badges { display:flex; flex-wrap:wrap; gap:8px; }
.irp-profile-badge {
    background:rgba(255,255,255,.12); color:#fff;
    border:1px solid rgba(255,255,255,.2); padding:3px 12px;
    border-radius:20px; font-size:11px; font-weight:600;
}
.irp-badge-green { background:rgba(16,185,129,.2); border-color:rgba(16,185,129,.4); }
.irp-badge-gold  { background:rgba(217,119,6,.2);  border-color:rgba(217,119,6,.4); color:var(--irp-gold); }

.irp-profile-msg { border-radius:var(--irp-radius-sm); padding:12px 18px; margin-bottom:16px; font-size:14px; font-weight:600; display:none; }
.irp-profile-msg.success { background:#d1fae5; color:#065f46; border:1px solid #6ee7b7; }
.irp-profile-msg.error   { background:#fee2e2; color:#991b1b; border:1px solid #fca5a5; }

.irp-profile-tab-nav { display:flex; gap:4px; margin-bottom:16px; background:#fff; border-radius:var(--irp-radius); padding:6px; box-shadow:0 2px 8px rgba(0,0,0,.06); }
.irp-profile-tab {
    flex:1; padding:10px 8px; background:none; border:none;
    font-size:13px; font-weight:700; color:#64748b; cursor:pointer;
    border-radius:8px; transition:all .2s; font-family:var(--irp-font);
}
.irp-profile-tab.active { background:linear-gradient(135deg,var(--irp-blue),var(--irp-cyan)); color:#fff; }
.irp-profile-tab:hover:not(.active) { background:#f1f5f9; color:var(--irp-blue); }
.irp-profile-panel { display:none; }
.irp-profile-panel.active { display:block; }
.irp-profile-card { background:#fff; border-radius:var(--irp-radius); padding:28px; box-shadow:0 2px 12px rgba(0,0,0,.07); }
.irp-profile-card h3 { margin:0 0 20px; color:var(--irp-blue); font-size:17px; }

.irp-account-table { width:100%; border-collapse:collapse; font-size:13px; }
.irp-account-table th { width:40%; padding:10px 12px; text-align:left; color:#64748b; font-weight:600; border-bottom:1px solid #f1f5f9; vertical-align:top; }
.irp-account-table td { padding:10px 12px; border-bottom:1px solid #f1f5f9; color:#1e293b; word-break:break-all; }
.irp-logout-btn { background:linear-gradient(135deg,#dc2626,#ef4444)!important; box-shadow:0 4px 16px rgba(220,38,38,.3)!important; }

/* ================================================================
   RESPONSIVE — Mobile first
   ================================================================ */
@media (max-width: 768px) {
    .irp-dashboard-wrap { padding: 0 12px 40px; }
    .irp-dash-stats { grid-template-columns: repeat(2,1fr); gap:10px; }
    .irp-dash-header { padding:18px 16px; }
    .irp-dash-header-actions { width:100%; }
    .irp-hdr-btn { flex:1; justify-content:center; font-size:12px; padding:8px 12px; }
    .irp-dash-guest-hero { flex-direction:column; text-align:center; padding:24px 20px; }
    .irp-dgh-shield { width:60px; height:68px; }
    .irp-dgh-text h1 { font-size:20px; }
    .irp-dgh-features { justify-content:center; }
    .irp-dash-track-steps { padding:14px 12px; gap:0; }
    .irp-dts-label { font-size:10px; }
    .irp-dts-line { min-width:12px; max-width:40px; }
    .irp-referral-card { flex-direction:column; gap:12px; }
    .irp-ref-link-wrap { flex-direction:column; }
    .irp-auth-field-grid { grid-template-columns:1fr; }
    .irp-auth-card-body { padding:20px 16px 24px; }
    .irp-claims-section-hdr { padding:16px 16px 12px; }
    .irp-cc-head { padding:12px 16px; gap:10px; }
    .irp-claim-progress { padding:6px 16px 10px; }
    .irp-prog-label { display:none; }
    .irp-claim-filter-tabs { padding:10px 12px; }
    .irp-cdet-grid { grid-template-columns:1fr; }
    .irp-cexp-inner { padding:14px 16px 16px; }
    .irp-profile-hero { flex-direction:column; text-align:center; }
    .irp-profile-badges { justify-content:center; }
    .irp-profile-card { padding:20px 16px; }
    .irp-profile-tab-nav { flex-direction:column; }
    .irp-dns-text { text-align:center; }
    .irp-dash-next-step { flex-direction:column; text-align:center; padding:20px 16px; }
}
@media (max-width: 480px) {
    .irp-dash-stats { grid-template-columns:repeat(2,1fr); gap:8px; }
    .irp-ds-num { font-size:20px; }
    .irp-cc-right { display:flex; flex-direction:row; align-items:center; justify-content:space-between; width:100%; }
    .irp-cc-head { flex-wrap:wrap; }
    .irp-prog-circle { width:26px; height:26px; font-size:11px; }
    .irp-auth-benefits { flex-wrap:wrap; }
    .irp-auth-benefit { flex:1 1 45%; }
    .irp-auth-wrap { padding:0 0 32px; }
    .irp-dts-label { display:none; }
}

/* ================================================================
   DASHBOARD GUEST HERO v4
   ================================================================ */
.irp-dgh-wrap {
    display: flex; align-items: center; gap: 28px;
    background: linear-gradient(135deg,#0a1628 0%,#1e3a8a 55%,#0369a1 100%);
    border-radius: var(--irp-radius); padding: 32px 28px;
    margin-bottom: 20px; position: relative; overflow: hidden;
}
.irp-dgh-wrap::after {
    content:'🛡️'; position:absolute; right:-12px; bottom:-24px;
    font-size:140px; opacity:.05; pointer-events:none; line-height:1;
}
.irp-dgh-shield {
    width:80px; height:90px; flex-shrink:0;
    filter:drop-shadow(0 0 20px rgba(14,165,233,.5));
    animation:irpFloat 3s ease-in-out infinite;
}
.irp-dgh-shield svg { width:100%; height:100%; }
.irp-dgh-body h1 { color:#fff; font-size:clamp(18px,4vw,26px); margin:0 0 8px; font-weight:800; }
.irp-dgh-body p  { color:rgba(255,255,255,.78); font-size:14px; margin:0 0 16px; line-height:1.6; max-width:480px; }
.irp-dgh-pills   { display:flex; flex-wrap:wrap; gap:8px; }
.irp-dgh-pills span {
    background:rgba(255,255,255,.13); border:1px solid rgba(255,255,255,.22);
    color:#fff; padding:5px 13px; border-radius:20px; font-size:12px; font-weight:600;
}

/* 4-step strip (guest) */
.irp-steps-strip {
    display:flex; align-items:center; justify-content:center;
    background:#fff; border-radius:var(--irp-radius);
    padding:18px 20px; margin-bottom:20px;
    box-shadow:0 2px 12px rgba(0,0,0,.07); gap:0; flex-wrap:nowrap;
}
.irp-ss-item { display:flex; flex-direction:column; align-items:center; gap:6px; flex-shrink:0; }
.irp-ss-circle {
    width:42px; height:42px;
    background:linear-gradient(135deg,var(--irp-blue),var(--irp-cyan));
    border-radius:50%; display:flex; align-items:center; justify-content:center;
    font-size:18px; box-shadow:0 2px 8px rgba(30,58,138,.25);
}
.irp-ss-label { font-size:11px; font-weight:700; color:#374151; text-align:center; max-width:70px; line-height:1.3; }
.irp-ss-line {
    flex:1; height:3px; min-width:16px; max-width:60px;
    background:linear-gradient(90deg,var(--irp-blue),var(--irp-cyan));
    border-radius:3px; margin:0 4px; margin-bottom:18px;
}

/* Auth wrapper inside guest dashboard */
.irp-dash-auth-wrap { max-width:520px; margin:0 auto; }

/* ================================================================
   WELCOME WIZARD
   ================================================================ */
.irp-welcome-wizard {
    background:#fff; border-radius:var(--irp-radius);
    box-shadow:0 2px 16px rgba(0,0,0,.08);
    margin-bottom:24px; overflow:hidden;
}

/* Welcome banner */
.irp-welcome-banner {
    background:linear-gradient(135deg,#0a1628,#1e3a8a,#0369a1);
    padding:24px 28px; display:flex; align-items:center;
    gap:20px; position:relative; overflow:hidden;
}
.irp-wb-confetti {
    position:absolute; inset:0; pointer-events:none; overflow:hidden;
}
.irp-wb-icon { font-size:48px; flex-shrink:0; animation:irpBounce 1.5s ease-in-out infinite; }
.irp-wb-text h2 { color:#fff; margin:0 0 6px; font-size:clamp(16px,3.5vw,22px); font-weight:800; }
.irp-wb-text p  { color:rgba(255,255,255,.8); margin:0; font-size:14px; line-height:1.5; }

/* Wizard steps */
.irp-wizard-steps { padding:24px 28px 28px; display:flex; flex-direction:column; gap:0; }

.irp-wz-step {
    display:flex; align-items:flex-start; gap:16px;
    padding:16px 0; position:relative;
}
.irp-wz-circle {
    width:48px; height:48px; border-radius:50%; flex-shrink:0;
    display:flex; align-items:center; justify-content:center;
    font-size:20px; font-weight:800;
    border:2px solid #e5e7eb; background:#f8faff; color:#94a3b8;
    transition:all .3s;
}
.irp-wz-done   .irp-wz-circle { background:linear-gradient(135deg,#059669,#10b981); border-color:#059669; color:#fff; box-shadow:0 0 0 4px rgba(5,150,105,.15); }
.irp-wz-active .irp-wz-circle { background:linear-gradient(135deg,var(--irp-blue),var(--irp-cyan)); border-color:var(--irp-blue); color:#fff; box-shadow:0 0 0 4px rgba(30,58,138,.15); animation:irpPulse 2s ease-in-out infinite; }
.irp-wz-cta    .irp-wz-circle { background:linear-gradient(135deg,var(--irp-gold-dark),var(--irp-gold)); border-color:var(--irp-gold); color:#fff; box-shadow:0 0 0 4px rgba(217,119,6,.2); animation:irpPulse 1.5s ease-in-out infinite; }
.irp-wz-upcoming .irp-wz-circle { background:#f1f5f9; border-color:#e5e7eb; color:#94a3b8; }

.irp-wz-body { flex:1; min-width:0; }
.irp-wz-body h4 { font-size:15px; font-weight:700; color:#1e293b; margin:8px 0 6px; }
.irp-wz-done   .irp-wz-body h4 { color:var(--irp-green); }
.irp-wz-cta    .irp-wz-body h4 { color:var(--irp-blue); }
.irp-wz-upcoming .irp-wz-body h4 { color:#94a3b8; }
.irp-wz-body p { font-size:13px; color:#64748b; margin:0 0 14px; line-height:1.6; }
.irp-wz-upcoming .irp-wz-body p { color:#cbd5e1; }

/* Insurance types strip in wizard */
.irp-wz-types { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:12px; }
.irp-wz-types span {
    background:#f0f4ff; color:var(--irp-blue); padding:3px 10px;
    border-radius:12px; font-size:11px; font-weight:600;
    border:1px solid rgba(30,58,138,.12);
}

/* Reward type grid in wizard */
.irp-wz-reward-types {
    display:grid; grid-template-columns:repeat(auto-fill,minmax(90px,1fr));
    gap:8px; margin-top:16px;
}
.irp-wz-rt {
    background:linear-gradient(135deg,#f0f4ff,#e8f0fe);
    border:1px solid rgba(30,58,138,.12); border-radius:10px;
    padding:10px 6px; text-align:center;
    display:flex; flex-direction:column; gap:3px; align-items:center;
}
.irp-wz-rt span  { font-size:20px; }
.irp-wz-rt strong{ font-size:14px; font-weight:800; color:var(--irp-blue); display:block; }
.irp-wz-rt small { font-size:10px; color:#64748b; line-height:1.3; }

/* CTA button (wizard) */
.irp-wz-cta-btn {
    display:inline-flex; align-items:center; gap:10px;
    background:linear-gradient(135deg,var(--irp-blue),var(--irp-cyan));
    color:#fff; padding:14px 28px; border-radius:var(--irp-radius-sm);
    font-size:15px; font-weight:800; text-decoration:none;
    box-shadow:0 4px 20px rgba(30,58,138,.35);
    transition:all .2s; animation:irpPulse 2.5s ease-in-out infinite;
}
.irp-wz-cta-btn:hover { transform:translateY(-2px); box-shadow:0 8px 28px rgba(30,58,138,.45); color:#fff; }
.irp-wz-arrow { font-size:18px; transition:transform .2s; }
.irp-wz-cta-btn:hover .irp-wz-arrow { transform:translateX(4px); }

/* Wizard connectors */
.irp-wz-connector {
    width:2px; height:24px; background:#e5e7eb;
    margin:0 0 0 23px; border-radius:2px;
}
.irp-wz-connector-done { background:linear-gradient(180deg,#059669,#10b981); }

/* ================================================================
   HEADER — avatar new badge
   ================================================================ */
.irp-dash-avatar { position:relative; }
.irp-avatar-new {
    position:absolute; top:-6px; right:-8px;
    background:linear-gradient(135deg,#d97706,#fbbf24);
    color:#fff; font-size:8px; font-weight:800;
    padding:2px 5px; border-radius:6px; border:2px solid #fff;
    letter-spacing:.5px; line-height:1.2;
}

/* ================================================================
   PROGRESS BAR — renamed selectors to match new dashboard.php
   ================================================================ */
.irp-prog-rejected {
    padding:8px 20px 10px; color:#dc2626;
    font-size:12px; font-weight:700;
    background:#fef2f2; border-top:1px solid #fee2e2;
}

/* Renamed step classes: irp-ps-done, irp-ps-active, irp-pl-done */
.irp-prog-step { display:flex; flex-direction:column; align-items:center; gap:4px; flex-shrink:0; }
.irp-prog-step .irp-prog-circle {
    width:30px; height:30px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    font-size:11px; font-weight:800;
    background:#e5e7eb; color:#94a3b8;
    border:2px solid #fff; box-shadow:0 1px 4px rgba(0,0,0,.1);
    transition:all .3s;
}
.irp-ps-done .irp-prog-circle {
    background:linear-gradient(135deg,var(--irp-blue),var(--irp-cyan));
    color:#fff; font-size:13px;
}
.irp-ps-active .irp-prog-circle {
    background:linear-gradient(135deg,var(--irp-gold-dark),var(--irp-gold));
    color:#fff; box-shadow:0 0 0 4px rgba(217,119,6,.2);
    animation:irpPulse 1.8s ease-in-out infinite;
}
.irp-prog-step .irp-prog-label { font-size:10px; color:#94a3b8; font-weight:600; white-space:nowrap; }
.irp-ps-done .irp-prog-label,
.irp-ps-active .irp-prog-label { color:var(--irp-blue); }

.irp-prog-line { flex:1; height:3px; background:#e5e7eb; border-radius:3px; margin:0 4px; margin-bottom:14px; transition:background .4s; }
.irp-pl-done   { background:linear-gradient(90deg,var(--irp-blue),var(--irp-cyan)); }

/* ================================================================
   CLAIM DETAIL TABLE (flat, no grid on mobile)
   ================================================================ */
.irp-cdet-table { margin-bottom:12px; }

/* Callout — info type (pending) */
.irp-callout-info { background:#eff6ff; border-left:4px solid #3b82f6; color:#1e40af; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width:768px) {
    .irp-dgh-wrap     { flex-direction:column; text-align:center; padding:24px 20px; }
    .irp-dgh-pills    { justify-content:center; }
    .irp-steps-strip  { overflow-x:auto; scrollbar-width:none; justify-content:flex-start; padding:14px 12px; }
    .irp-steps-strip::-webkit-scrollbar { display:none; }
    .irp-ss-label     { font-size:10px; }
    .irp-welcome-banner { flex-direction:column; text-align:center; }
    .irp-wizard-steps { padding:16px 16px 20px; }
    .irp-wz-reward-types { grid-template-columns:repeat(3,1fr); }
    .irp-wz-cta-btn   { width:100%; justify-content:center; font-size:14px; padding:13px 20px; }
    .irp-dash-auth-wrap { max-width:100%; }
    .irp-cdet-table   { font-size:12px; }
}
@media (max-width:480px) {
    .irp-dgh-shield   { width:60px; height:68px; }
    .irp-wz-reward-types { grid-template-columns:repeat(2,1fr); }
    .irp-wz-step      { gap:12px; }
    .irp-wz-circle    { width:40px; height:40px; font-size:16px; }
    .irp-prog-label   { display:none; }
    .irp-prog-circle  { width:26px; height:26px; font-size:10px; }
    .irp-claim-progress { padding:6px 14px 10px; }
    .irp-dash-stats   { grid-template-columns:repeat(2,1fr); gap:8px; }
    .irp-ds-num       { font-size:20px; }
}

/* ================================================================
   PASSWORD RESET PAGE — Premium Redesign
   ================================================================ */
.irp-reset-page-wrap {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a1628 0%, #1e3a8a 50%, #0369a1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    font-family: var(--irp-font);
}
.irp-reset-card {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 460px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,.35);
    animation: irpSlideUp .4s cubic-bezier(.4,0,.2,1);
}
.irp-reset-card-top {
    background: linear-gradient(135deg, #0a1628, #1e3a8a);
    padding: 32px 28px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.irp-reset-card-top::after {
    content: '🔐';
    position: absolute;
    right: -10px; bottom: -20px;
    font-size: 90px; opacity: .07;
}
.irp-reset-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}
.irp-reset-brand-icon {
    width: 48px; height: 54px;
    filter: drop-shadow(0 4px 12px rgba(14,165,233,.5));
}
.irp-reset-brand-name {
    font-size: 18px; font-weight: 800; color: #fff;
}
.irp-reset-brand-name span { color: var(--irp-gold); }
.irp-reset-lock-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, rgba(255,255,255,.15), rgba(255,255,255,.08));
    border: 2px solid rgba(255,255,255,.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; margin: 0 auto 16px;
}
.irp-reset-card-top h2 { color: #fff; margin: 0 0 6px; font-size: 22px; font-weight: 800; }
.irp-reset-card-top p  { color: rgba(255,255,255,.75); margin: 0; font-size: 14px; line-height: 1.5; }
.irp-reset-card-body   { padding: 28px 28px 32px; }

/* Strength bar in reset card */
.irp-reset-card .irp-pw-strength { margin-top: 8px; }

/* Back to login link */
.irp-reset-back {
    display: block;
    text-align: center;
    margin-top: 16px;
    color: #64748b;
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
}
.irp-reset-back:hover { color: var(--irp-blue); }

/* Success state */
.irp-reset-success {
    text-align: center;
    padding: 20px 0;
}
.irp-reset-success-icon {
    font-size: 56px;
    display: block;
    margin-bottom: 12px;
    animation: irpBounce .6s ease;
}
.irp-reset-success h3 { color: var(--irp-green); margin: 0 0 8px; font-size: 20px; }
.irp-reset-success p  { color: #64748b; margin: 0 0 20px; font-size: 14px; }

/* Responsive reset */
@media (max-width: 480px) {
    .irp-reset-card        { border-radius: 16px; }
    .irp-reset-card-top    { padding: 24px 20px 20px; }
    .irp-reset-card-body   { padding: 20px 20px 24px; }
    .irp-reset-card-top h2 { font-size: 19px; }
}

/* ================================================================
   YELLOW TEXT BUTTONS — New Claim, floating menu items
   ================================================================ */
.irp-hdr-btn-yellow,
.irp-hdr-btn-yellow:hover,
.irp-hdr-btn-yellow:visited {
    color: #ffd700 !important;
    font-weight: 800 !important;
    text-shadow: 0 1px 4px rgba(0,0,0,.3);
    border: 2px solid rgba(255,215,0,.4) !important;
}
.irp-hdr-btn-yellow:hover {
    border-color: #ffd700 !important;
    background: rgba(255,215,0,.12) !important;
    transform: translateY(-1px);
}

/* ================================================================
   FLOATING ICON — FULLY RESPONSIVE ALL DEVICES
   ================================================================ */

/* ── LARGE DESKTOP (1200px+) ── */
@media (min-width: 1200px) {
    .irp-float-cta    { font-size: 13px; }
    .irp-float-amount { font-size: 12px; }
    .irp-fsl-item     { font-size: 13px; padding: 7px 16px; }
}

/* ── TABLET (641px – 1024px) — full button + sub-links ── */
@media (min-width: 641px) and (max-width: 1024px) {
    .irp-position-bottom-right { bottom: 20px; right: 16px; }
    .irp-position-bottom-left  { bottom: 20px; left: 16px; }
    .irp-float-cta    { font-size: 11px; }
    .irp-float-amount { font-size: 10px; }
    .irp-fsl-item     { font-size: 11px; padding: 5px 12px; }
    .irp-float-icon-wrap { width: 38px; height: 38px; }
    .irp-shield-svg      { width: 38px; height: 38px; }
}

/* ── MOBILE (max 640px) — BOTTOM BAR STYLE ── */
@media (max-width: 640px) {

    /* Reposition: full-width bottom bar */
    .irp-floating-icon {
        bottom: 0 !important;
        right:  0 !important;
        left:   0 !important;
        top:    auto !important;
        width:  100%;
        align-items: stretch;
        flex-direction: column;
        animation: none; /* no floating on mobile — stays anchored */
        border-radius: 0;
        gap: 0;
    }

    /* Glow off on mobile */
    .irp-float-glow  { display: none; }
    .irp-float-pulse { top: 6px; right: 6px; width: 12px; height: 12px; }
    .irp-float-badge { font-size: 14px; top: -8px; left: 4px; }

    /* Main button — full width pill */
    .irp-float-inner {
        width: 100%;
        border-radius: 0;
        padding: 12px 16px;
        gap: 10px;
        justify-content: center;
        border-left: none;
        border-right: none;
        border-top: 2px solid var(--irp-gold);
        border-bottom: 1px solid rgba(255,215,0,.2);
        box-shadow: 0 -4px 20px rgba(0,0,0,.4);
    }
    .irp-float-inner:hover { transform: none; }

    /* Show text on mobile (it was hidden before) */
    .irp-float-text { display: flex !important; }
    .irp-float-cta  {
        font-size: 13px !important;
        font-weight: 800 !important;
        color: #ffd700 !important;
        white-space: normal;
        line-height: 1.3;
    }
    .irp-float-amount { font-size: 11px !important; }

    .irp-float-icon-wrap { width: 36px; height: 36px; flex-shrink: 0; }
    .irp-shield-svg      { width: 36px; height: 36px; }

    /* Sub-links — horizontal row across full width */
    .irp-float-sub-links {
        display: flex !important;
        flex-direction: row !important;
        width: 100%;
        margin-top: 0;
        gap: 0;
        background: linear-gradient(135deg, #060d1f, #0a1a3a);
        border-top: 1px solid rgba(255,215,0,.15);
    }
    .irp-fsl-item {
        flex: 1;
        justify-content: center;
        text-align: center;
        border-radius: 0;
        border: none;
        border-right: 1px solid rgba(255,215,0,.12);
        padding: 9px 4px;
        font-size: 10px !important;
        font-weight: 800 !important;
        gap: 3px;
        flex-direction: column;
        backdrop-filter: none;
        box-shadow: none;
        color: #ffd700 !important;
        white-space: nowrap;
    }
    .irp-fsl-item:last-child { border-right: none; }
    .irp-fsl-item:hover {
        background: rgba(255,215,0,.12);
        transform: none;
    }
    /* emoji icon bigger, text smaller in column layout */
    .irp-fsl-item span:first-child { font-size: 16px; }

    /* Prevent content from being hidden behind the bottom bar
       Add padding to body bottom equal to bar height (~86px) */
    body { padding-bottom: 86px !important; }
}

/* ── SMALL MOBILE (max 380px) ── */
@media (max-width: 380px) {
    .irp-float-cta    { font-size: 12px !important; }
    .irp-fsl-item     { font-size: 9px !important; padding: 8px 2px; }
}

/* ── LANDSCAPE MOBILE (short height) ── */
@media (max-height: 500px) and (max-width: 900px) {
    .irp-float-sub-links { display: none !important; }
    .irp-float-inner     { padding: 8px 14px; }
    .irp-float-cta       { font-size: 11px !important; }
    body                 { padding-bottom: 52px !important; }
}
