/* ==========================================================================
   IRW Ten Nights of Giving — Frontend Styles
   ========================================================================== */

/* Reset / Base — self-contained resets so we don't depend on external CSS */
.irw-tn {
    font-family: 'Inter', 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #364153;
    line-height: 1.6;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    overflow-x: hidden;
}
.irw-tn *, .irw-tn *::before, .irw-tn *::after {
    box-sizing: border-box;
}
/* Image reset — Chrome requires explicit max-width inside flex/grid containers */
.irw-tn img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 0;
}
/* Button/input reset — normalize Chrome vs Firefox default appearance */
.irw-tn button,
.irw-tn select,
.irw-tn input {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
}
.irw-tn button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
/* Prevent Chrome flex overflow: flex children must not grow beyond container */
.irw-tn [class*="__content"],
.irw-tn [class*="__info"],
.irw-tn [class*="__text"] {
    min-width: 0;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.irw-tn-hero {
    background: #f0f4f8;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
}
.irw-tn-hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

/* Hero — Left (Overview) */
.irw-tn-hero__overview {
    background: #0778D4;
    border-radius: 16px;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.irw-tn-hero__title {
    font-family: 'Geogrotesque', 'Inter', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 16px;
}
.irw-tn-hero__title p {
    margin: 0 0 8px;
}
.irw-tn-hero__title p:last-child {
    margin-bottom: 0;
}
.irw-tn-hero__title a {
    color: #FBBC04;
    text-decoration: underline;
}
.irw-tn-hero__title a:hover {
    color: #fff;
}
.irw-tn-hero__desc {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin: 0 0 24px;
}
.irw-tn-hero__desc p {
    margin: 0 0 12px;
}
.irw-tn-hero__desc p:last-child {
    margin-bottom: 0;
}
.irw-tn-hero__desc a {
    color: #FBBC04;
    text-decoration: underline;
}
.irw-tn-hero__desc a:hover {
    color: #fff;
}
.irw-tn-hero__desc strong {
    color: #fff;
    font-weight: 700;
}
.irw-tn-hero__desc ul,
.irw-tn-hero__desc ol {
    margin: 0 0 12px 20px;
    padding: 0;
}
.irw-tn-hero__desc li {
    margin-bottom: 4px;
}
.irw-tn-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.irw-tn-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
}
.irw-tn-hero__badge svg {
    flex-shrink: 0;
}

/* Hero — Right (Tonight's Impact) */
.irw-tn-hero__tonight {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.irw-tn-hero__tonight-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    flex: 1;
}
.irw-tn-hero__tonight-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.irw-tn-hero__sparkle {
    flex-shrink: 0;
}
.irw-tn-hero__tonight-label {
    font-family: 'Geogrotesque', 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0778D4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.irw-tn-hero__tonight-body {
    display: flex;
    gap: 16px;
}
.irw-tn-hero__tonight-content {
    flex: 1;
}
.irw-tn-hero__tonight-title {
    font-family: 'Geogrotesque', 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px;
    line-height: 1.3;
}
.irw-tn-hero__tonight-desc {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 14px;
}
.irw-tn-hero__tonight-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.irw-tn-hero__tonight-location {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #9ca3af;
}
.irw-tn-hero__tonight-location svg {
    flex-shrink: 0;
}

/* Title link */
.irw-tn-hero__tonight-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}
.irw-tn-hero__tonight-title-link:hover {
    color: #0778D4;
    text-decoration: none;
}

/* Learn More link (hero) */
.irw-tn-hero__tonight-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #0778D4;
    text-decoration: none;
    transition: gap 0.15s;
}
.irw-tn-hero__tonight-learn-more:hover {
    gap: 8px;
    text-decoration: none;
    color: #065baa;
}

/* Tonight image */
.irw-tn-hero__tonight-image {
    position: relative;
    width: 220px;
    height: 190px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
}
.irw-tn-hero__tonight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.irw-tn-hero__tonight-day-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: #0778D4;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

/* ==========================================================================
   Progress Bar
   ========================================================================== */
.irw-tn-progress {
    margin-top: 16px;
}
.irw-tn-progress__bar {
    width: 100%;
    height: 10px;
    background: #e5e7eb;
    border-radius: 5px;
    overflow: hidden;
}
.irw-tn-progress__fill {
    height: 100%;
    background: linear-gradient(90deg, #0778D4, #0ea5e9);
    border-radius: 5px;
    transition: width 0.8s ease;
    min-width: 2%;
}
.irw-tn-progress__stats {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 13px;
}
.irw-tn-progress__raised {
    font-weight: 700;
    color: #0778D4;
}
.irw-tn-progress__target {
    color: #9ca3af;
}

/* Achieved state */
.irw-tn-progress--achieved .irw-tn-progress__fill {
    background: linear-gradient(90deg, #10b981, #34d399);
}
.irw-tn-progress--achieved .irw-tn-progress__raised {
    color: #10b981;
}
.irw-tn-progress__achieved {
    font-weight: 700;
    color: #10b981;
}

/* Inline progress (in night rows) */
.irw-tn-progress--inline {
    margin-top: 4px;
}
.irw-tn-progress--inline .irw-tn-progress__bar {
    height: 5px;
}
.irw-tn-progress--inline .irw-tn-progress__stats {
    font-size: 11px;
    margin-top: 3px;
}

/* ==========================================================================
   Special Badges (Jummah / Odd Night)
   ========================================================================== */
.irw-tn-special-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}
.irw-tn-special-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 24px;
    font-family: 'Geogrotesque', 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    animation: irw-tn-badge-glow 2s ease-in-out infinite;
}
.irw-tn-special-badge svg {
    flex-shrink: 0;
}
.irw-tn-special-badge--jummah {
    background: linear-gradient(135deg, #FBBC04, #F59E0B);
    color: #000;
    box-shadow: 0 0 15px rgba(251, 188, 4, 0.3);
}
.irw-tn-special-badge--odd {
    background: #37bcdade;
    color: #fff;
    box-shadow: 0 0 15px rgba(55, 188, 218, 0.3);
}
@keyframes irw-tn-badge-glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

/* ==========================================================================
   Countdown Timer (right side — cause card)
   ========================================================================== */
.irw-tn-timer-wrap {
    background: linear-gradient(135deg, #f0f7ff, #e8f4fd);
    border: 1px solid #d1e5fa;
    border-radius: 12px;
    padding: 16px 20px;
    text-align: center;
    margin-bottom: 16px;
}
.irw-tn-timer__text {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    margin: 0 0 12px;
    line-height: 1.4;
}
.irw-tn-timer {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
}
.irw-tn-timer__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.irw-tn-timer__digit {
    font-family: 'Geogrotesque', 'Courier New', monospace;
    font-size: 40px;
    font-weight: 700;
    color: #0778D4;
    line-height: 1;
    min-width: 60px;
    text-align: center;
}
.irw-tn-timer__label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9ca3af;
    margin-top: 4px;
}
.irw-tn-timer__sep {
    font-family: 'Geogrotesque', 'Courier New', monospace;
    font-size: 40px;
    font-weight: 700;
    color: #d1d5db;
    line-height: 1;
}

/* CTA Button */
.irw-tn-hero__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #A91F21;
    color: #fff;
    font-family: 'Geogrotesque', 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 18px 24px;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
}
.irw-tn-hero__cta:hover {
    background: #8b1a1c;
    color: #fff;
    text-decoration: none;
}

/* ==========================================================================
   Impact Banner
   ========================================================================== */
.irw-tn-impact {
    margin-bottom: 40px;
}
.irw-tn-impact__container {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f0f7ff;
    border: 1px solid #d1e5fa;
    border-radius: 12px;
    padding: 24px 28px;
    flex-wrap: wrap;
}
.irw-tn-impact__icon {
    flex-shrink: 0;
    margin-top: 2px;
}
.irw-tn-impact__text {
    flex: 1;
    min-width: 200px;
}
.irw-tn-impact__title {
    font-family: 'Geogrotesque', 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 4px;
}
.irw-tn-impact__desc {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   Share Buttons
   ========================================================================== */
.irw-tn-share {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}
.irw-tn-share__label {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    white-space: nowrap;
}
.irw-tn-share__buttons {
    display: flex;
    gap: 8px;
}
.irw-tn-share__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.irw-tn-share__btn:hover {
    border-color: transparent;
    text-decoration: none;
}
.irw-tn-share__btn--fb:hover { background: #1877f2; color: #fff; }
.irw-tn-share__btn--x:hover { background: #000; color: #fff; }
.irw-tn-share__btn--wa:hover { background: #25d366; color: #fff; }
.irw-tn-share__btn--copy:hover { background: #0778D4; color: #fff; }
.irw-tn-share__btn--copy.copied {
    background: #10b981;
    color: #fff;
    border-color: transparent;
}

/* ==========================================================================
   Accordion Sections (Previous Nights / Coming Soon)
   ========================================================================== */
.irw-tn-accordion {
    margin-bottom: 24px;
}
.irw-tn-accordion__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    border-bottom: 2px solid #e5e7eb;
    padding: 12px 0;
    cursor: pointer;
    font-family: inherit;
}
.irw-tn-accordion__header:hover {
    border-bottom-color: #0778D4;
}
.irw-tn-accordion__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}
.irw-tn-accordion__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: #0778D4;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50%;
}
.irw-tn-accordion__arrow {
    transition: transform 0.3s ease;
    color: #9ca3af;
}
.irw-tn-accordion__header[aria-expanded="true"] .irw-tn-accordion__arrow {
    transform: rotate(180deg);
}
.irw-tn-accordion__body {
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 12px 0;
}

/* ==========================================================================
   Night Rows
   ========================================================================== */
.irw-tn-night-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 8px;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.2s;
}

/* Previous night rows — card style */
.irw-tn-night-row--previous {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 12px;
    gap: 16px;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.irw-tn-night-row--previous:last-child {
    margin-bottom: 0;
}
.irw-tn-night-row--previous:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border-color: #d1d5db;
}

/* Achieved card */
.irw-tn-night-row--achieved {
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border-color: #a7f3d0;
}
.irw-tn-night-row--achieved:hover {
    border-color: #6ee7b7;
    box-shadow: 0 4px 16px rgba(16,185,129,0.08);
}

/* Thumbnail image */
.irw-tn-night-row__thumb {
    position: relative;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: #0778D4;
}
.irw-tn-night-row__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.irw-tn-night-row__thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0778D4, #0ea5e9);
}
.irw-tn-night-row--achieved .irw-tn-night-row__thumb-placeholder {
    background: linear-gradient(135deg, #10b981, #34d399);
}
.irw-tn-night-row__thumb-check {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 22px;
    height: 22px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

/* Calendar icon (coming soon) */
.irw-tn-night-row__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Info block */
.irw-tn-night-row__info {
    flex: 1;
    min-width: 0;
}

/* Night label */
.irw-tn-night-row__label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0778D4;
    margin-bottom: 4px;
}
.irw-tn-night-row__label--muted {
    color: #9ca3af;
}

/* Headline: Title · Country · Learn More */
.irw-tn-night-row__headline {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}
.irw-tn-night-row__sep {
    color: #d1d5db;
    font-size: 14px;
    line-height: 1;
}
.irw-tn-night-row__title {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
}
.irw-tn-night-row__country {
    font-size: 13px;
    color: #9ca3af;
    white-space: nowrap;
}

/* Achieved badge */
.irw-tn-night-row__achieved-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    background: linear-gradient(135deg, #10b981, #34d399);
    border-radius: 12px;
    white-space: nowrap;
}

/* Achieved line (badge + thanks) */
.irw-tn-night-row__achieved-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    flex-wrap: wrap;
}
.irw-tn-night-row__achieved-thanks {
    font-size: 13px;
    font-style: italic;
    color: #6b7280;
}

/* Title link in rows */
.irw-tn-night-row__title--link {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.15s;
}
.irw-tn-night-row__title--link:hover {
    color: #0778D4;
    text-decoration: none;
}

/* Actions container */
.irw-tn-night-row__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

/* Learn More link in rows */
.irw-tn-night-row__learn-more {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: #0778D4;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s;
}
.irw-tn-night-row__learn-more:hover {
    color: #065baa;
    text-decoration: underline;
}

/* Donate button */
.irw-tn-night-row__donate {
    flex-shrink: 0;
    min-width: 110px;
    text-align: center;
    font-family: 'Geogrotesque', 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: #A91F21;
    border: none;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}
.irw-tn-night-row__donate:hover {
    background: #8b1a1c;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Achieved row donate — outlined style */
.irw-tn-night-row--achieved .irw-tn-night-row__donate {
    background: transparent;
    color: #10b981;
    border: 2px solid #10b981;
    font-size: 14px;
    min-width: 110px;
    padding: 8px 18px;
    box-sizing: border-box;
}
.irw-tn-night-row--achieved .irw-tn-night-row__donate:hover {
    background: #10b981;
    color: #fff;
    transform: translateY(-1px);
}

/* Coming soon rows — muted */
.irw-tn-night-row--coming {
    opacity: 0.6;
    padding: 10px 8px;
}
.irw-tn-night-row--coming:hover {
    opacity: 0.85;
}

/* ==========================================================================
   Donate Popup
   ========================================================================== */
.irw-tn-donate-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 100000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.irw-tn-donate-overlay.active {
    display: flex;
}
.irw-tn-donate-popup {
    position: relative;
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    overflow: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.irw-tn-donate-popup__close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.irw-tn-donate-popup__close:hover {
    background: rgba(0,0,0,0.8);
}
.irw-tn-donate-popup__content {
    padding: 32px 28px;
}
.irw-tn-donate-popup__title {
    font-family: 'Geogrotesque', 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 4px;
}
.irw-tn-donate-popup__subtitle {
    font-size: 15px;
    color: #6b7280;
    margin: 0 0 24px;
}
.irw-tn-donate-popup__field {
    margin-bottom: 20px;
}
.irw-tn-donate-popup__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
/* Amount row: select + amount buttons inline */
.irw-tn-donate-popup__amount-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}
.irw-tn-donate-popup__currency-select {
    flex-shrink: 0;
    padding: 12px 30px 12px 10px;
    font-size: 16px;
    font-weight: 700;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #364153;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.irw-tn-donate-popup__currency-select:hover {
    border-color: #0778D4;
}
.irw-tn-donate-popup__currency-select:focus {
    border-color: #0778D4;
}
.irw-tn-donate-popup__amount {
    flex: 1;
    padding: 12px 8px;
    font-size: 16px;
    font-weight: 700;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #364153;
    cursor: pointer;
    transition: all 0.15s;
    text-align: center;
}
.irw-tn-donate-popup__amount:hover {
    border-color: #0778D4;
}
.irw-tn-donate-popup__amount.active {
    border-color: #0778D4;
    background: #0778D4;
    color: #fff;
}
.irw-tn-donate-popup__custom {
    display: flex;
    align-items: center;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.15s;
}
.irw-tn-donate-popup__custom:focus-within {
    border-color: #0778D4;
}
.irw-tn-donate-popup__symbol {
    padding: 10px 12px;
    font-size: 16px;
    font-weight: 700;
    color: #9ca3af;
    background: #f9fafb;
    border-right: 1px solid #e5e7eb;
}
.irw-tn-donate-popup__input {
    flex: 1;
    border: none;
    padding: 10px 12px;
    font-size: 16px;
    outline: none;
    background: #fff;
    color: #364153;
    -moz-appearance: textfield;
}
.irw-tn-donate-popup__input::-webkit-outer-spin-button,
.irw-tn-donate-popup__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.irw-tn-donate-popup__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 24px;
    margin-top: 24px;
    font-family: 'Geogrotesque', 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: #A91F21;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
}
.irw-tn-donate-popup__submit:hover {
    background: #8b1a1c;
}

/* ==========================================================================
   Responsive — Tablet (<=992px)
   ========================================================================== */
@media (max-width: 992px) {
    .irw-tn {
        padding-top: 50px;
    }
    .irw-tn-hero__container {
        grid-template-columns: 1fr;
    }
    .irw-tn-hero__overview {
        padding: 32px 28px;
    }
    .irw-tn-hero__title {
        font-size: 32px;
    }
}

/* ==========================================================================
   Responsive — Mobile (<=768px)
   ========================================================================== */
@media (max-width: 768px) {
    .irw-tn {
        padding-top: 40px;
    }
    .irw-tn-hero {
        padding: 16px;
    }
    .irw-tn-hero__overview {
        padding: 28px 24px;
    }
    .irw-tn-hero__title {
        font-size: 28px;
    }
    .irw-tn-hero__desc {
        font-size: 15px;
    }
    .irw-tn-hero__badges {
        flex-direction: column;
    }
    .irw-tn-special-badges {
        flex-direction: column;
    }
    .irw-tn-special-badge {
        font-size: 12px;
        padding: 6px 14px;
    }
    .irw-tn-timer__digit {
        font-size: 30px;
        min-width: 44px;
    }
    .irw-tn-timer__sep {
        font-size: 30px;
    }
    .irw-tn-timer-wrap {
        padding: 14px 16px;
    }
    .irw-tn-hero__tonight-body {
        flex-direction: column;
    }
    .irw-tn-hero__tonight-image {
        width: 100%;
        height: 180px;
    }
    .irw-tn-hero__tonight-title {
        font-size: 22px;
    }

    /* Impact banner stacks */
    .irw-tn-impact__container {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    .irw-tn-share {
        align-items: flex-start;
        flex-direction: row;
        gap: 12px;
        width: 100%;
    }
    .irw-tn-share__label {
        display: none;
    }

    /* Previous night cards — stacked layout on mobile */
    .irw-tn-night-row--previous {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 12px;
    }
    .irw-tn-night-row--previous .irw-tn-night-row__thumb {
        width: 100%;
        height: 160px;
        border-radius: 8px;
    }
    .irw-tn-night-row--previous .irw-tn-night-row__actions {
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
    }
    .irw-tn-night-row__title {
        font-size: 15px;
    }

    /* Coming soon rows */
    .irw-tn-night-row--coming {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 8px;
    }

    /* Thumbnails */
    .irw-tn-night-row__thumb-check {
        width: 18px;
        height: 18px;
    }

    /* Donate popup */
    .irw-tn-donate-popup {
        max-width: 100%;
        border-radius: 12px;
        max-height: 90vh;
    }
    .irw-tn-donate-popup__content {
        padding: 24px 20px;
    }
    .irw-tn-donate-popup__amount-row {
        flex-wrap: wrap;
    }
    .irw-tn-donate-popup__currency-select {
        width: 100%;
    }
}

/* ==========================================================================
   Responsive — Small Mobile (<=480px)
   ========================================================================== */
@media (max-width: 480px) {
    .irw-tn {
        padding: 35px 8px 0;
    }
    .irw-tn-hero {
        padding: 12px;
        border-radius: 12px;
    }
    .irw-tn-hero__overview {
        padding: 24px 20px;
    }
    .irw-tn-hero__title {
        font-size: 24px;
    }
    .irw-tn-timer__digit {
        font-size: 24px;
        min-width: 34px;
    }
    .irw-tn-timer__sep {
        font-size: 24px;
    }
    .irw-tn-timer {
        gap: 4px;
    }
    .irw-tn-timer-wrap {
        padding: 12px 12px;
    }
    .irw-tn-timer__text {
        font-size: 13px;
    }
    .irw-tn-hero__tonight-card {
        padding: 16px;
    }
    .irw-tn-hero__tonight-title {
        font-size: 20px;
    }
    .irw-tn-hero__cta {
        padding: 14px 20px;
        font-size: 15px;
    }

    /* Previous cards tighter on small mobile */
    .irw-tn-night-row--previous {
        padding: 14px;
        gap: 10px;
    }
    .irw-tn-night-row--previous .irw-tn-night-row__thumb {
        height: 130px;
    }
    .irw-tn-night-row__headline {
        flex-wrap: wrap;
        gap: 3px 5px;
    }
    .irw-tn-night-row__title {
        font-size: 14px;
    }
    .irw-tn-night-row__learn-more {
        font-size: 12px;
    }
    .irw-tn-night-row__achieved-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }

    /* Popup tighter */
    .irw-tn-donate-popup__content {
        padding: 20px 16px;
    }
    .irw-tn-donate-popup__title {
        font-size: 20px;
    }
    .irw-tn-donate-popup__currency-select {
        padding: 10px 26px 10px 8px;
        font-size: 13px;
    }
    .irw-tn-donate-popup__amount {
        padding: 10px 6px;
        font-size: 14px;
    }
    .irw-tn-donate-popup__submit {
        padding: 14px 20px;
        font-size: 15px;
    }
    .irw-tn-night-row__donate {
        min-width: 80px;
        font-size: 12px;
        padding: 5px 12px;
    }
}
