/*
 * Styles for the Top Promotional Banner
 */
.promo-banner {
    /* This is now required for positioning the close button */
    position: relative;
    z-index: 9999;
    background-color: var(--promo-bg-color, #4e73df);
    color: var(--promo-text-color, #ffffff);

    /* Adjust padding to make space for the close button on the right */
    padding: 0.6rem 2.5rem 0.6rem 1rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    width: 100%;
    transition: all 0.3s ease-in-out;
}

.promo-banner-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.promo-banner-link:hover {
    opacity: 0.9;
    text-decoration: underline;
}

/* --- NEW: Close Button Styles --- */
.promo-banner-close-btn {
    position: absolute;
    top: 50%;
    right: 15px; /* Position on the far right */
    transform: translateY(-50%); /* Vertically center it perfectly */

    /* Reset button styles to make it look like an icon */
    background: none;
    border: none;
    padding: 0;
    margin: 0;

    /* Styling for the icon itself */
    color: inherit; /* Takes the same color as the banner text */
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.promo-banner-close-btn:hover {
    opacity: 1;
}