/* General banner text and layout */
#general-banner {
    font-family: 'Helvetica Neue', 'Roboto', 'Arial', sans-serif;
    height: 24px;
    width: 60%;
    margin: 0 auto;
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-47%);
    z-index: -100;
    font-size: 12px !important;
    font-weight: 500;
    color: #0a3d62;
    text-align: center;
    letter-spacing: 0.5px;
    /* padding: 8px 40px; */
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    align-items: center;
    justify-content: center;
    display: flex;
}

/* Text inside the banner */
#banner-text {
    flex: 1;
}

/* Fade in and fade out transitions */
.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease-in;
}

.fade-in.show {
    opacity: 1;
    transition: opacity 0.6s ease-in;
}

.fade-out {
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.fade-out.hide {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

/* Different banner types (background + text color) */
.banner-info {
    /* background-color: #5dade2; Light Configueres blue */
    background-color: #85c1e9;
    color: #0a3d62;
    border: 1px solid #3498db;
}

.banner-success {
    background-color: #a2d9ce; 
    color: #045440;
    border: 1px solid #09472b;
}

.banner-warning {
    background-color: #f9e79f; 
    color: #856404;
    border: 1px solid #b7950b;
}

.banner-error {
    background-color: #d98880; 
    color: #721c24;
    border: 1px solid #b03a2e;
}

/* Close "X" button style */
#close-general-banner-btn {
    background: transparent;
    border: none;
    font-size: 22px;
    font-weight: bold;
    color: inherit;
    cursor: pointer;
    margin-left: 15px;
}
