html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.dashboard {
    font-family: 'Arial', sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 1rem;
}

.grid-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.row-1, .row-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.widget {
    background-color: #2a2a2a;
    border-radius: 5px;
    padding: 1rem;
    box-shadow: 0 0 10px rgba(0,255,255,0.1);
}

.widget-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

h1, h2 {
    margin-top: 0;
}

.timer {
    font-size: 2rem;
    font-weight: bold;
    color: #ff6b6b;
}

.status {
    padding: 0.5rem;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

.ongoing {
    background-color: #ff6b6b;
}

.resolved {
    background-color: #4cd137;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 0.5rem;
    text-align: left;
    border-bottom: 1px solid #444;
}

.widget.outage-type {
    height: 250px;
    overflow: hidden;
}

    .widget.outage-type canvas {
        max-width: 100%;
        max-height: 100%;
    }

.widget.network-status,
.widget.service-centers {
    height: 100%;
}

    .widget.service-centers ul {
        padding-left: 1.5rem;
        margin: 0;
    }

.widget.incident-details ul {
    list-style-type: none;
    padding: 0;
}

    .widget.incident-details ul li {
        margin-bottom: 10px;
    }

    .widget.incident-details ul ul {
        padding-left: 20px;
    }

        .widget.incident-details ul ul li {
            margin-bottom: 5px;
        }

/* Responsive adjustments */
@media (max-width: 768px) {
    .widget-group {
        grid-template-columns: 1fr;
    }
}
