/*
 * WEB-70: deploy-active warning banner styles.
 * Fixed-position top strip, warning palette (yellow/orange), non-blocking.
 * Sits above all content but below modals (z-index 99990 vs consent
 * banner's 99998 -- consent banner takes priority because it's a legal
 * requirement). Slides down on show via CSS transition.
 */

#abbi-deploy-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99990;
    background: #fff4e5;
    color: #663c00;
    border-bottom: 2px solid #ed6c02;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.45;
    padding: 10px 16px;
    transform: translateY(-100%);
    transition: transform 0.2s ease-out;
}

#abbi-deploy-banner[hidden] {
    /* keep hidden state hard -- defeats any theme override that drops the attribute */
    display: none;
}

#abbi-deploy-banner.abbi-deploy-banner--visible {
    transform: translateY(0);
}

.abbi-deploy-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.abbi-deploy-banner__icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ed6c02;
    color: #fff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.abbi-deploy-banner__text {
    flex: 1 1 auto;
    min-width: 0;
}

.abbi-deploy-banner__title {
    font-weight: 600;
    margin-right: 8px;
}

.abbi-deploy-banner__detail {
    color: #663c00;
    opacity: 0.9;
}

@media (max-width: 640px) {
    #abbi-deploy-banner {
        font-size: 13px;
        padding: 8px 12px;
    }
    .abbi-deploy-banner__inner {
        gap: 8px;
    }
    .abbi-deploy-banner__title {
        display: block;
        margin-bottom: 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #abbi-deploy-banner { transition: none; }
}
