:root {
    --srb-banner-height: 60px; /* Estimated height for desktop */
}

/* The Banner Container */
#srb-banner-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #d32f2f; /* Deep Red */
    color: white;
    z-index: 999999; /* Very high to stay above menus */
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Desktop Layout */
.srb-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 50px 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    min-height: 40px;
}

.srb-text-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.srb-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.srb-button {
    background-color: #ffffff;
    color: #d32f2f !important;
    padding: 8px 18px;
    text-decoration: none !important;
    border-radius: 4px;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.srb-button:hover {
    background-color: #f2f2f2;
    text-decoration: none;
}

#srb-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
    padding: 5px;
    opacity: 0.8;
}

#srb-close:hover { opacity: 1; }

/* Pushes the website down so the banner doesn't cover the menu */
body.has-srb-banner {
    margin-top: 60px !important; 
}

/* Mobile Adjustments (Phones) */
@media (max-width: 768px) {
    :root {
        --srb-banner-height: 100px; /* Larger space for mobile stack */
    }
    
    body.has-srb-banner {
        margin-top: 110px !important;
    }

    .srb-content {
        flex-direction: column;
        text-align: center;
        padding: 15px 40px;
        gap: 10px;
    }

    .srb-text {
        font-size: 14px;
    }

    .srb-button {
        width: 100%;
        display: block;
    }
}