/* ============================================================
   TAX URGENCY BANNER — Dismissable sticky bottom bar
   Dineroza — April 15 tax deadline cross-sell
   ============================================================ */

/* Sticky bottom bar */
#tax-urgency-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    color: #1c0a00;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 -4px 20px rgba(234, 88, 12, 0.35);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#tax-urgency-bar.tub--visible {
    transform: translateY(0);
}

#tax-urgency-bar.tub--hidden {
    transform: translateY(100%);
}

/* Body padding so footer isn't hidden under bar */
body.tax-bar-open {
    padding-bottom: 68px;
}

.tub__icon {
    font-size: 20px;
    flex-shrink: 0;
    animation: tub-pulse 1.5s ease-in-out infinite;
}

@keyframes tub-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.tub__text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
}

.tub__text strong {
    font-weight: 800;
    font-size: 15px;
}

.tub__countdown {
    font-size: 13px;
    font-weight: 700;
    background: rgba(28, 10, 0, 0.15);
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
}

.tub__cta {
    display: inline-block;
    background: #1c0a00;
    color: #fef3c7;
    font-weight: 800;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, transform 0.1s;
    flex-shrink: 0;
}

.tub__cta:hover {
    background: #3c1a00;
    transform: scale(1.03);
    color: #fef3c7;
    text-decoration: none;
}

.tub__dismiss {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(28, 10, 0, 0.55);
    font-size: 20px;
    line-height: 1;
    padding: 4px;
    flex-shrink: 0;
    transition: color 0.15s;
}

.tub__dismiss:hover {
    color: rgba(28, 10, 0, 0.9);
}

/* Mobile: stack text + CTA vertically */
@media (max-width: 600px) {
    #tax-urgency-bar {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 16px;
        text-align: center;
    }

    body.tax-bar-open {
        padding-bottom: 100px;
    }

    .tub__text {
        width: 100%;
        text-align: center;
    }

    .tub__countdown {
        width: 100%;
        text-align: center;
    }

    .tub__cta {
        flex: 1;
    }
}

/* Inline countdown badge update */
.tsb-countdown-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    color: #b45309;
    font-weight: 700;
    font-size: 13px;
    padding: 2px 10px;
    border-radius: 20px;
    margin-left: 6px;
    border: 1px solid rgba(245, 158, 11, 0.3);
}
