.status-banner {
    height: 30px;
    /* Set desired height */
    width: 100%;
    /* It will take full width of .activity */
    display: block;
    background-color: #eee;
    /* Default background. You can remove this if you want */
    text-align: center;
    line-height: 30px;
    /* Centering text vertically */
    font-size: 10px;
    /* Adjust as necessary */
    font-weight: bold;
    /* Bold font */
    color: #333;
    /* Text color */
    margin-top: 10px;
    /* Space between h3 and banner */
    border-radius: 4px;
    /* Optional rounded corners */
    animation: fadeIn 1.5s ease-in;
}

.operational:before {
    content: '\f058'; /* Font Awesome unicode for fa-check-circle */
    font-family: 'FontAwesome';
    margin-right: 5px;
}

.maintenance:before {
    content: '\f0ad'; /* Font Awesome unicode for fa-wrench */
    font-family: 'FontAwesome';
    margin-right: 5px;
}

.down:before {
    content: '\f057'; /* Font Awesome unicode for fa-times-circle */
    font-family: 'FontAwesome';
    margin-right: 5px;
}

.investigating:before {
    content: '\f002'; /* Font Awesome unicode for fa-search */
    font-family: 'FontAwesome';
    margin-right: 5px;
}

/* Existing CSS classes */
.operational {
    background-color: #4CAF50 !important;
    color: #fff !important;
}

.maintenance {
    background-color: #FFC107 !important;
    color: #333 !important;
}

.down {
    background-color: #FF0000;
    /* Red for system down */
    color: #fff;
}

.investigating {
    background-color: #8E44AD;
    /* Example of a purple color */
    color: #fff;
}



.oncallbanner {
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    margin: 10px auto;
    /* centers the block horizontally */
    font-weight: bold;
    animation: fadeIn 1.5s ease-in;
    background-color: #FFC107 !important;
    color: #333 !important;
    width: 50%;
    margin-top: -20px;
    /* sets the width of the banner to 50% */
}



.custom-banner {
    display: none;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    margin: 10px 0;
    font-weight: bold;
    animation: fadeIn 1.5s ease-in;
}

.custom-banner.warning {
    background-color: #FFC107;
    /* Amber for warning */
    color: #333;
    /* Dark text for better visibility */
}

.custom-banner.important {
    background-color: #f44336;
    /* Red for important */
    color: #fff;
}

.custom-banner.normal {
    background-color: #4CAF50;
    color: #fff;
}

.custom-banner i {
    margin-right: 10px;
    font-size: 1.2em;
    vertical-align: middle;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.live-container {
    display: inline-flex;
    align-items: center;
}

.live-indicator {
    background-color: #FF0000;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    animation: blink 1.2s infinite;
    margin-right: 8px;
}

.live-text {
    font-weight: bold;
    font-size: 16px;
    color: #333;
    
} */


.status-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

@media (max-width: 480px) {
    .status-container {
        flex-direction: column;
    }

    .live-container,
    .update-container {
        margin-bottom: 5px;
    }
}

.live-container,
.update-container {
    display: inline-flex;
    align-items: center;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.live-indicator {
    background-color: #FF0000;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    animation: blink 1.2s infinite;
}

.live-text,
.update-text {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}


.issue-banner-hidden {
    display: none;
    width: 100%;
    background-color: #ff0000;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}

.issue-banner-visible {
    display: block;
}

.close-banner {
    margin-left: 15px;
    cursor: pointer;
    background-color: #ffffff;
    color: #ff0000;
    border-radius: 50%;
    padding: 0 5px;
    line-height: 24px;
}



.notification-banner {
    display: none;
    width: 100%;
    background-color: #f44336;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-size: 1.1em;
    animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
    0% { background-color: #f44336; }
    50% { background-color: #ff7961; } /* Lighter shade for pulse effect */
    100% { background-color: #f44336; }
}


.notification-banner a {
    color: yellow;
    /* To differentiate the link */
    text-decoration: underline;
}

#closeBannerBtn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}


/* Common styling for both banners */
.hidden {
    display: none;
}

#offline-banner,
#online-banner {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    margin: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: bold;
    text-align: center;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

#offline-banner {
    background-color: #f44336;
    color: #fff;
}

#online-banner {
    background-color: #4CAF50;
    /* Green background for online */
    color: white;
    /* White text for better contrast against the green background */
}



.green-banner {
    background-color: #4CAF50;
    /* A shade of green */
    color: white;
    /* White text color */
    padding: 10px 20px;
    /* Padding for top-bottom and left-right */
    border-radius: 4px;
    /* Rounded corners */
    margin: 10px 0;
    /* Some margin on top and bottom to separate from other elements */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* A subtle shadow for depth */
    font-weight: bold;
    /* Bold text for better readability */
    text-align: center;
    /* Centered text */
    max-width: 400px;
    /* Max width to prevent it from stretching too wide on larger screens */
    margin-left: auto;
    /* Centering the banner */
    margin-right: auto;
    /* Centering the banner */
}


.online {
    background-color: green;
    color: white;
}

.offline {
    background-color: red;
    color: white;
}

.unknown {
    background-color: #FFC107;
    color: #333;
    /* Dark text color for contrast */
}


.success-banner {
    background-color: #4CAF50;
    /* A shade of green */
    color: white;
    /* White text color */
    padding: 10px 20px;
    /* Padding for top-bottom and left-right */
    border-radius: 4px;
    /* Rounded corners */
    margin: 10px 0;
    /* Some margin on top and bottom to separate from other elements */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* A subtle shadow for depth */
    font-weight: bold;
    /* Bold text for better readability */
    text-align: center;
    /* Centered text */
    max-width: 400px;
    /* Max width to prevent it from stretching too wide on larger screens */
    margin-left: auto;
    /* Centering the banner */
    margin-right: auto;
    /* Centering the banner */
}

.error-banner {
    background-color: #f44336;
    /* Red */
    color: white;
}

.completionBanner2{
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    margin: 10px auto;
    /* centers the block horizontally */
    font-weight: bold;
    animation: fadeIn 1.5s ease-in;
    background-color: #FFC107 !important;
    color: #333 !important;
    width: 50%;
    margin-top: -14px;
    /* sets the width of the banner to 50% */
}

.modal-close-button{
    cursor: pointer;
}

