:root {
    --bg-color: #CACCEF;
    --surface-color: #FFFFFF;
    --primary-color: #080A66;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;

    --status-up: #10b981;
    --status-down: #ef4444;
    --status-pending: #f59e0b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

header {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.logo-container {
    margin-bottom: 1.5rem;
}

.logo {
    max-height: 80px;
    width: auto;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--primary-color);
    opacity: 0.8;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Announcement Banner */
.announcement-banner {
    background-color: #E0E7FF; /* Light indigo matching brand tone */
    border-left: 4px solid var(--primary-color);
    color: var(--primary-color);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.announcement-icon {
    font-size: 1.5rem;
}

.announcement-text {
    font-size: 0.95rem;
}

/* Material Design Global Status */
.status-overview {
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.status-icon {
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.status-icon.up {
    color: #34d399;
}

.status-icon.down {
    color: #f87171;
}

.status-icon.pending {
    color: #fbbf24;
}

.status-text h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.status-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* Services List */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-card {
    background: var(--surface-color);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 1rem;
}

.service-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-info i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: var(--bg-color);
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.service-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.service-url {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-decoration: none;
}

.service-url:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

.service-global-status {
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-pending {
    background: #fef3c7;
    color: var(--status-pending);
}

.badge-up {
    background: #d1fae5;
    color: var(--status-up);
}

.badge-down {
    background: #fee2e2;
    color: var(--status-down);
}

/* Nodes Grid */
.nodes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.node-item {
    background: #F3F4F6;
    border-radius: 6px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.node-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.node-location i {
    color: var(--primary-color);
}

.node-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.node-ping {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.text-up {
    color: var(--status-up);
}

.text-down {
    color: var(--status-down);
}

.text-pending {
    color: var(--status-pending);
}

/* Chart Container */
.chart-container {
    position: relative;
    height: 200px;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #E5E7EB;
}

footer {
    margin-top: 4rem;
    text-align: center;
    color: var(--primary-color);
    font-size: 0.875rem;
    padding-bottom: 2rem;
    font-weight: 500;
}

footer a {
    color: var(--primary-color);
    text-decoration: underline;
}

footer p {
    margin-bottom: 0.5rem;
}

/* Animations */
.spin {
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}