        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #fff;
            color: #333;
            line-height: 1.6;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        
        .btn-primary {
            color: red            !important;
            border-color: red     !important;
            background: #fafafa   !important;
        }

        .btn-primary:hover {
            color: #fafafa        !important;
            background: red       !important;
        }
        
        .btn-outline-primary {
            color: red            !important;
            border-color: red     !important;
            background: #fafafa   !important;
        }

        .btn-outline-primary:hover {
            color: #fafafa        !important;
            background: red       !important;
        }                  

        /* Beacon Status Indicator */
        .beacon-container {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }
        
        .beacon {
            position: relative;
            width: 40px;
            height: 40px;
            margin-right: 15px;
            border-radius: 50%;
            background: #28a745; /* Default green */
            box-shadow: 0 0 0 rgba(40, 167, 69, 0.4);
            animation: pulse-beacon 2s infinite;
        }
        
        .beacon.beacon-healthy {
            background: #28a745;
            box-shadow: 0 0 0 rgba(40, 167, 69, 0.4);
            animation: pulse-beacon-green 2s infinite;
        }
        
        .beacon.beacon-warning {
            background: #ffc107;
            box-shadow: 0 0 0 rgba(255, 193, 7, 0.4);
            animation: pulse-beacon-orange 2s infinite;
        }
        
        .beacon.beacon-critical {
            background: #dc3545;
            box-shadow: 0 0 0 rgba(220, 53, 69, 0.4);
            animation: pulse-beacon-red 2s infinite;
        }
        
        .beacon.beacon-maintenance {
            background: #6c757d;
            box-shadow: 0 0 0 rgba(108, 117, 125, 0.4);
            animation: pulse-beacon-gray 2s infinite;
        }
        
        .beacon-inner {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: white;
            opacity: 0.8;
        }
        
        .beacon-text {
            font-size: 1.8rem;
            font-weight: bold;
        }
        
        .beacon-status-label {
            font-size: 1rem;
            color: #6c757d;
            margin-top: -5px;
        }
        
        /* Beacon animations */
        @keyframes pulse-beacon-green {
            0% {
                box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
            }
            70% {
                box-shadow: 0 0 0 20px rgba(40, 167, 69, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
            }
        }
        
        @keyframes pulse-beacon-orange {
            0% {
                box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
            }
            70% {
                box-shadow: 0 0 0 20px rgba(255, 193, 7, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
            }
        }
        
        @keyframes pulse-beacon-red {
            0% {
                box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
            }
            70% {
                box-shadow: 0 0 0 20px rgba(220, 53, 69, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
            }
        }
        
        @keyframes pulse-beacon-gray {
            0% {
                box-shadow: 0 0 0 0 rgba(108, 117, 125, 0.7);
            }
            70% {
                box-shadow: 0 0 0 20px rgba(108, 117, 125, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(108, 117, 125, 0);
            }
        }
        
        .status-indicator {
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin-right: 8px;
        }
        .status-operational { background-color: #28a745; }
        .status-degraded { background-color: #ffc107; }
        .status-outage { background-color: #dc3545; }
        .status-maintenance { background-color: #6c757d; }
        
        .component-card {
            border: 1px solid #dee2e6;
            border-radius: 8px;
            padding: 1.5rem;
            margin-bottom: 1rem;
        }
        
        #header {
            background-color: #fafafa;
            padding: 20px 0;
            position: relative;
            width: 100%;
        }
        
        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }
        
        .history-nav {
            margin-bottom: 30px;
        }
        
        .history-nav a {
            color: #2e2e2e;
            text-decoration: none;
            margin-right: 20px;
            padding: 8px 0;
            border-bottom: 2px solid transparent;
            transition: all 0.3s ease;
        }
        
        .history-nav a:hover {
            color: #000000;
        }
        
        .history-nav a.active {
            color: red;
            border-bottom-color: red;
            font-weight: 600;
        }        
        
        .logo-container img {
            width: 235px;
            height: auto;
            max-width: 100%;
        }
        
        .main-nav {
            margin-top: 20px;
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .main-nav a {
            color: var(--text-color);
            padding: 5px 0;
            font-size: 14px;
            text-transform: uppercase;
        }        
        
        .footer {
            margin-top: 3rem;
            padding-top: 1rem;
            border-top: 1px solid #dee2e6;
            font-size: 0.9rem;
            color: #6c757d;
        }
        
        .alert-banner {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            border-radius: 0;
        }
        
        .system-status-badge {
            font-size: 1.2rem;
            padding: 0.5rem 1rem;
        }
        
        .refresh-indicator {
            font-size: 0.8rem;
            color: #6c757d;
        }
        
        .blink {
            animation: blink 1s infinite;
        }
        
        
        .main-footer {
            background-color: #2e2e2e;
            color: #fefefe;
            padding: 25px 20px;
            text-align: center;
            margin-top: auto;
        }
        
        .footer-content {
            max-width: 1000px;
            margin: 0 auto;
        }
        
        .footer-content p {
            margin: 10px 0;
            font-size: 13px;
            line-height: 1.5;
        }
    
        
        .footer-content a {
            color: red;
            text-decoration: none;
            margin: 0 8px;
        }
        
        .footer-content a:hover {
            text-decoration: underline;
        }

        
        .footer-links {
            margin-top: 15px;
            font-size: 13px;
        }
        
        /* Back to Top Button Styles */
        .back-to-top-btn {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background-color: #d32f2f; /* Red color */
            color: white;
            border: none;
            border-radius: 5px; /* Slightly rounded square */
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 1000;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
        }
        
        .back-to-top-btn.visible {
            opacity: 1;
            visibility: visible;
        }
        
        .back-to-top-btn:hover {
            background-color: #b71c1c; /* Darker red on hover */
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
        }
        
        .back-to-top-btn:active {
            transform: translateY(-1px);
        }                
        
        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }
        
/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .logo-container {
        align-items: center;
        text-align: center;
    }
    
    .header-container {
        display: block;
    
    }    
    
    
    .main-nav {
        justify-content: center;
    }
    

}

      