@import url("https://use.typekit.net/kat6end.css");

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, h1, h2, h3, h4, h5, h6, .stat-value, .stat-label, .status-card, .status-badge {
    font-family: 'sofia-pro', 'Open Sans', Arial, sans-serif !important;
}

h1, h2, h3 {
    text-align: center;
    margin: 2rem 0 1rem 0;
    font-weight: 700;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
.header-bg {
    width: 100vw;
    min-width: 100vw;
    background: linear-gradient(-265deg,#3e0080,#9c10e5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 0;
    margin: 0;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 2.5rem;
}

.header {
    background: none;
    color: white;
    padding: 3rem 0 2.5rem 0;
    border-radius: 0 0 24px 24px;
    box-shadow: none;
}

.header-content {
    padding: 0 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-img {
    height: 48px;
    margin-bottom: 0.5rem;
    display: block;
}

.logo {
    display: none;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

.overall-status {
    text-align: right;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.operational {
    background-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.status-dot.degraded {
    background-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.status-dot.major_outage {
    background-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.status-dot.loading {
    background-color: #6b7280;
    box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

.last-updated {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Main content */
.main-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

section h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
}

/* Status grid */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.status-card {
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(76, 81, 255, 0.07);
    padding: 2rem;
    margin: 1.5rem;
    background: #fff;
    border: none;
    transition: box-shadow 0.2s, transform 0.2s;
}

.status-card:hover {
    box-shadow: 0 8px 32px rgba(76, 81, 255, 0.12);
    transform: translateY(-4px) scale(1.01);
}

.status-card.operational {
    border-left: 4px solid #10b981;
}

.status-card.degraded {
    border-left: 4px solid #f59e0b;
}

.status-card.major_outage {
    border-left: 4px solid #ef4444;
}

.status-card.loading {
    border-left: 4px solid #6b7280;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.operational {
    background: #10b981;
    color: #fff;
}

.status-badge.degraded {
    background: #f59e42;
    color: #fff;
}

.status-badge.major_outage {
    background: #ef4444;
    color: #fff;
}

.status-badge.loading {
    background-color: #f3f4f6;
    color: #374151;
}

.card-content {
    color: #6b7280;
}

.card-content p {
    margin-bottom: 0.5rem;
}

.response-time {
    font-size: 0.9rem;
    color: #9ca3af;
}

/* Stats grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
}

.stat-label {
    font-size: 1rem;
    color: #666;
}

/* Incident history */
.incident-list {
    min-height: 100px;
}

.no-incidents {
    text-align: center;
    color: #6b7280;
    padding: 2rem;
}

.incident-item {
    border-left: 4px solid #e5e7eb;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #f9fafb;
    border-radius: 0 8px 8px 0;
}

.incident-item.major_outage {
    border-left-color: #ef4444;
    background-color: #fef2f2;
}

.incident-item.degraded {
    border-left-color: #f59e0b;
    background-color: #fffbeb;
}

.incident-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.incident-time {
    font-size: 0.9rem;
    color: #6b7280;
}

.incident-description {
    margin-top: 0.5rem;
    color: #4b5563;
}

/* Footer */
.footer {
    background: #000;
    color: #fff;
    padding: 2rem 0;
    margin-top: 3rem;
    border-radius: 15px 15px 0 0;
}

.footer-content {
    text-align: center;
}

.footer-content p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

/* Slack-style Status Legend */
.status-legend {
    background: none;
    box-shadow: none;
    padding: 0 0 1.5rem 0;
    margin-bottom: -1.5rem;
}
.legend-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: flex-end;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #444;
}

/* Feature Status Grid */
.feature-status {
    margin-bottom: 2rem;
    background: none;
    box-shadow: none;
    padding-top: 0;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.feature-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    padding: 1.5rem 1.5rem 1.2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    border-left: 5px solid #10b981;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.2rem;
}
.feature-status-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1rem;
    color: #444;
}
.feature-desc {
    font-size: 0.98rem;
    opacity: 0.85;
}

/* Status Dot Types for Legend and Features */
.status-dot.operational { background-color: #10b981; }
.status-dot.maintenance { background-color: #2563eb; }
.status-dot.notice { background-color: #fbbf24; }
.status-dot.incident { background-color: #f59e42; }
.status-dot.outage { background-color: #ef4444; }

/* Responsive tweaks for feature grid */
@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .header-content {
        padding: 0 1rem;
    }
    
    .overall-status {
        text-align: center;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .status-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 1.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1.5rem 0;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    section {
        padding: 1rem;
    }
    
    .status-card {
        padding: 1rem;
    }
}

/* Loading animations */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
button:focus,
a:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
} 

/* Big Centered Status Icon and Message (Slack-style) */
.center-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 2.5rem 0 2.5rem 0;
    padding: 2.5rem 0 2.5rem 0;
    background: none;
}
.center-status-icon {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.center-status-icon svg {
    width: 80px;
    height: 80px;
    display: block;
    filter: drop-shadow(0 4px 16px rgba(16,185,129,0.10));
}
.center-status-message {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 0.5rem;
}
@media (max-width: 600px) {
    .center-status-icon svg {
        width: 56px;
        height: 56px;
    }
    .center-status-message {
        font-size: 1.2rem;
    }
} 