﻿/* === Responsive Full-Width Banner === */
.app-banner {
    width: 100vw; /* Full viewport width */
    min-height: 70px; /* Minimum height on small screens */
    background: linear-gradient(90deg, #202c33 0%, #1a242c 100%);
    color: #e9edef;
    display: flex;
    justify-content: center; /* Center the content horizontally */
    align-items: center;
    padding: 12px 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 999;
    top: 0;
    left: 0;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1600px; /* limit on very large screens like TV */
    width: 100%;
    gap: 12px;
    flex-wrap: wrap; /* allow wrapping on mobile */
}

.banner-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.banner-text {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 200px;
}

    .banner-text h5 {
        font-size: 1.1rem;
        font-weight: 600;
        margin: 0;
        line-height: 1.3;
    }

    .banner-text p {
        font-size: 0.95rem;
        margin: 2px 0 0 0;
        line-height: 1.4;
    }

/* Close Button */
.banner-close {
    background: transparent;
    border: none;
    color: #e9edef;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 8px;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

    .banner-close:hover {
        color: #ff4d4d;
    }

/* === Responsive tweaks === */
@media (max-width: 768px) {
    .app-banner {
        padding: 10px 15px;
    }

    .banner-icon {
        font-size: 22px;
    }

    .banner-text h5 {
        font-size: 1rem;
    }

    .banner-text p {
        font-size: 0.85rem;
    }

    .banner-close {
        font-size: 1.25rem;
    }
}

@media (min-width: 1601px) {
    .banner-text h5 {
        font-size: 1.5rem;
    }

    .banner-text p {
        font-size: 1.2rem;
    }

    .banner-close {
        font-size: 2rem;
    }
}
.app-banner {
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.app-banner {
    position: sticky;
    top: 0;
}
.app-banner {
    animation: bannerFade 0.4s ease;
}

@keyframes bannerFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* 🔸 Hide banner during print */
@media print {
    .app-banner,
    .NotIncludeInPrint {
        display: none !important;
        visibility: hidden !important;
    }
}
