* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: sticky; top: 0; z-index: 1000;
}
.header-content { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; }
.logo { font-size: 1.8rem; font-weight: bold; color: #667eea; text-decoration: none; }
.logo:hover { color: #764ba2; }
nav ul { display: flex; list-style: none; gap: 2rem; }
nav a { text-decoration: none; color: #333; font-weight: 500; transition: color 0.3s; }
nav a:hover { color: #667eea; }
.mobile-menu { display: none; flex-direction: column; cursor: pointer; }
.mobile-menu span { width: 25px; height: 3px; background: #333; margin: 3px 0; transition: 0.3s; }
@media (max-width: 768px) {
    .mobile-menu { display: flex; }
    nav { display: none; }
    nav.active {
        display: block; position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); padding: 1rem;
        box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    }
    nav.active ul { flex-direction: column; gap: 1rem; }
}

.main-container {
    margin-top: 3rem;
    min-height: 60vh;
}

.welcome-section {
    background: rgba(255,255,255,0.95);
    border-radius: 1rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    padding: 2.5rem 2rem;
    text-align: center;
}

.welcome-title {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.welcome-desc {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 2rem;
}

.domain-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.domain-input {
    padding: 0.75rem 1.2rem;
    font-size: 1.1rem;
    border: 1.5px solid #a3bffa;
    border-radius: 2rem;
    outline: none;
    min-width: 320px;
    max-width: 500px;
    transition: border 0.2s;
}
.domain-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 2px #a3bffa33;
}

.domain-btn {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    background: #667eea;
    color: #fff;
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(102,126,234,0.08);
}
.domain-btn:hover, .domain-btn:focus {
    background: #764ba2;
}

.status-main {
    margin-top: 3rem;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-header-section {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 2rem auto;
}
.status-title-loading {
    font-size: 1.5rem;
    color: #444;
    font-weight: normal;
}
.status-section {
    background: rgba(255,255,255,0.97);
    border-radius: 1rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    padding: 2.5rem 2rem 2rem 2rem;
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin-bottom: 2.5rem;
}
.status-title {
    font-size: 2.2rem;
    color: #cb7373;
    font-weight: bold;
    margin-bottom: 1rem;
}

.status-title-main {
    color: #ffffff;
}
.status-desc {
    font-size: 1.1rem;
    color: #e5e5e5;
    margin-bottom: 2rem;
}
.status-chart-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.chart-container {
    position: relative;
    width: 150px;
    height: 150px;
}
.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    font-size: 1rem;
    color: #444;
}
.chart-legend span {
    display: flex;
    align-items: center;
}
.legend-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 0.4em;
    vertical-align: middle;
}
.legend-dot.error { background: #5b7be9; }
.legend-dot.inaccessible { background: #2ec4c8; }
.legend-dot.slow { background: #e6b800; }

.report-section {
    background: rgba(255,255,255,0.97);
    border-radius: 1rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    padding: 2rem 2rem 1.5rem 2rem;
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin-bottom: 2.5rem;
}
.report-title {
    font-size: 1.5rem;
    color: #333;
    font-weight: bold;
    margin-bottom: 1.2rem;
}
.problem-form {
    margin: 0 auto;
}
.problem-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.problem-btn {
    background: #667eea;
    color: #fff;
    border: none;
    border-radius: 0.7rem;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(102,126,234,0.08);
}
.problem-btn:hover, .problem-btn:focus {
    background: #764ba2;
}

.reports-section {
    background: rgba(255,255,255,0.97);
    border-radius: 1rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    padding: 2rem 2rem 1.5rem 2rem;
    text-align: left;
    width: 100%;
    max-width: 900px;
    margin-bottom: 2.5rem;
}
.reports-title {
    font-size: 1.2rem;
    color: #333;
    font-weight: bold;
    margin-bottom: 1.2rem;
}
.reports-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.reports-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.reports-list li:last-child {
    border-bottom: none;
}
.report-country {
    background: #e9eaf6;
    color: #3f51b5;
    border-radius: 0.5rem;
    padding: 0.2rem 0.7rem;
    font-size: 0.95em;
    font-weight: bold;
    margin-right: 0.5em;
}
.report-time {
    color: #888;
    font-size: 0.97em;
    margin-right: 0.5em;
}
.report-type {
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
}
.report-type.up { background: #e6f9f0; color: #1e8553; }
.report-type.down { background: #fdeaea; color: #c0392b; }
.report-type.slow { background: #fffbe6; color: #b7950b; }
.report-type.login { background: #e8eaf6; color: #283593; }
.report-type.search { background: #e3f2fd; color: #1976d2; }
.report-type.other { background: #f3e5f5; color: #7b1fa2; }

@media (min-width: 600px) {
    .status-chart-wrap {
        flex-direction: row;
        justify-content: center;
    }
    .chart-legend {
        text-align: left;
    }
}

/* Loader */
.loader {
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #667eea;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 1.5rem auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Status Result Styles */
.result-header {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.result-header .domain-name {
    color: #333;
}
.result-header.up { color: #2ecc71; }
.result-header.down { color: #e74c3c; }
.result-header.problem { color: #f39c12; }

.result-sub-header {
    font-size: 1rem;
    color: #777;
    margin-bottom: 2rem;
}

/* Split layout wrapper */
.result-content-wrapper {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.result-details,
.result-details-half {
    text-align: left;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 0.8rem;
    padding: 1.5rem;
}

.result-details-half {
    flex: 1;
    min-width: 0; /* Prevents flex item from overflowing */
}
.detail-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0;
    font-size: 1.1rem;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}
.detail-item:last-child {
    border-bottom: none;
}
.detail-item .value {
    font-weight: bold;
    color: #000;
}
.detail-item .icon-check { color: #2ecc71; font-weight: bold; }
.detail-item .icon-cross { color: #e74c3c; font-weight: bold; }
.detail-item .icon-info { color: #3498db; }
.detail-item .icon-warn { color: #f39c12; font-weight: bold; }
.detail-item.down .value { color: #e74c3c; }
.detail-item.problem .value { color: #f39c12; }

/* What to do section */
.what-to-do-section {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.what-to-do-section .section-title {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 24px;
    color: #333;
}

.faq-list {
    display: grid;
    gap: 20px;
}

.faq-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.faq-item p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-top: 0;
}

/* Screenshot Styles */
.screenshot-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.screenshot-half {
    flex: 1;
    text-align: center;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 0.8rem;
    padding: 1.5rem;
    min-width: 0; /* Prevents flex item from overflowing */
}

.screenshot-section h3,
.screenshot-half h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.screenshot-container {
    text-align: center;
}

.website-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.website-screenshot:hover {
    transform: scale(1.02);
    border-color: #667eea;
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.3);
}

.website-screenshot.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    object-fit: contain;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    border: none;
    border-radius: 0;
    cursor: zoom-out;
    transform: none;
}

.screenshot-caption {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Responsive design for split layout */
@media (max-width: 768px) {
    .result-content-wrapper {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .result-details-half,
    .screenshot-half {
        flex: none !important;
        width: 100% !important;
        display: block !important;
    }
    
    .screenshot-half {
        order: 2; /* Put screenshot below details on mobile */
        margin-top: 1rem;
    }
    
    .result-details-half {
        order: 1; /* Details first on mobile */
    }
    
    .website-screenshot {
        max-width: 100%;
        height: auto;
        max-height: 300px; /* Limit height on mobile */
        object-fit: contain;
    }
    
    .screenshot-half h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .screenshot-caption {
        font-size: 0.8rem;
        margin-top: 0.3rem;
    }
    
    /* Make status details more compact on mobile */
    .detail-item {
        padding: 0.4rem 0;
        font-size: 1rem;
    }
    
    .result-details-half {
        padding: 1rem;
    }
    
    .screenshot-half {
        padding: 1rem;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .result-content-wrapper {
        gap: 0.5rem;
    }
    
    .result-details-half,
    .screenshot-half {
        padding: 0.8rem;
        border-radius: 0.6rem;
    }
    
    .website-screenshot {
        max-height: 250px; /* Even smaller on tiny screens */
        border-radius: 6px;
    }
    
    .detail-item {
        padding: 0.3rem 0;
        font-size: 0.95rem;
        gap: 0.6rem;
    }
    
    .detail-item .value {
        font-size: 0.9rem;
    }
    
    .screenshot-half h3 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .result-header {
        font-size: 1.5rem;
        text-align: center;
        flex-wrap: wrap;
    }
    
    .result-sub-header {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
}

/* Breadcrumbs */
.breadcrumb-nav {
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
    content: "›";
    margin: 0 0.5rem;
    color: #999;
    font-weight: bold;
}

.breadcrumb-list a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.breadcrumb-list li[aria-current="page"] {
    color: #bdffe4;
    font-weight: 500;
}

/* SEO Elements */
.trust {
    font-size: 0.9rem;
    color: #47ff4e;
    font-weight: 600;
    margin: 0.5rem 0;
    text-align: center;
}

.direct-answer {
    background: #f8f9ff;
    border: 2px solid #667eea;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    text-align: center;
    font-size: 1.1rem;
}

.direct-answer strong {
    color: #333;
    font-weight: 700;
}

.status-highlight {
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.status-highlight.up {
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.1);
}

.status-highlight.down {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.status-highlight.problem {
    color: #f39c12;
    background: rgba(243, 156, 18, 0.1);
}

.ai-summary {
    background: #e6f3ff;
    border-left: 4px solid #3498db;
    padding: 0.8rem 1rem;
    margin: 1rem 0;
    font-size: 0.95rem;
    color: #2c3e50;
    border-radius: 4px;
}

.status-attribution {
    text-align: center;
    margin: 1rem 0 2rem 0;
    color: #ffd5f6;
}

.related-sites {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.related-sites h2 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-align: center;
}

.related-sites ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
    padding: 0;
}

.related-sites li {
    background: #f8f9ff;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.related-sites a {
    display: block;
    padding: 0.8rem 1rem;
    text-decoration: none;
    color: #667eea;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.related-sites a:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* 30-Day History Chart */
.history-section {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.history-chart-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

#uptimeHistoryChart {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    background: #f8f9ff;
    padding: 1rem;
    max-width: 100%;
    box-sizing: border-box;
}

.history-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.legend-dot.uptime {
    background: #9e9e9e;
}

.legend-dot.downtime {
    background: #e74c3c;
}

.legend-dot.problems {
    background: #f39c12;
}

.history-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: #f8f9ff;
    border-radius: 8px;
    border: 1px solid #e8eaff;
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile responsiveness for history section */
@media (max-width: 768px) {
    .history-section {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    #uptimeHistoryChart {
        height: 100px;
        padding: 0.5rem;
        overflow: hidden;
    }
    
    .history-chart-container {
        overflow-x: auto;
        overflow-y: hidden;
    }
    
    .history-legend {
        gap: 1rem;
    }
    
    .legend-item {
        font-size: 0.8rem;
    }
    
    .history-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .stat-item {
        padding: 0.8rem 0.5rem;
    }
    
    .stat-value {
        font-size: 1.4rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: rgba(255,255,255,0.9);
}

/* MOBILE OVERRIDE - HIGHEST PRIORITY */
@media screen and (max-width: 768px) {
    .result-content-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .result-details-half {
        width: 100% !important;
        flex: none !important;
        order: 1 !important;
        margin-bottom: 1rem !important;
    }
    
    .screenshot-half {
        width: 100% !important;
        flex: none !important;
        order: 2 !important;
        margin-top: 0 !important;
    }
    

    
    .breadcrumb-nav {
        padding: 0.3rem 0 !important;
        margin-bottom: 0.5rem !important;
    }
    
    .breadcrumb-list {
        font-size: 0.8rem !important;
        justify-content: center !important;
    }
    
    .page-header-section {
        text-align: center !important;
        padding: 1rem !important;
        max-width: 100% !important;
        margin: 0 auto 1rem auto !important;
    }
    
    .status-title {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
        word-wrap: break-word !important;
    }
    
    .status-desc {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        padding: 0 0.5rem !important;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    background: #f8f9ff;
    border-radius: 12px 12px 0 0;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.modal-close:hover {
    background-color: #f5f5f5;
    color: #333;
    transform: scale(1.1);
}

.modal-body {
    padding: 24px;
}

.status-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.status-indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-text {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.no-incidents {
    text-align: center;
    padding: 32px;
    color: #28a745;
    font-size: 16px;
    background: #f8fff9;
    border-radius: 8px;
    border: 1px solid #d4edda;
    font-weight: 500;
}

.incidents-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.incidents-summary {
    background: #f0f4ff;
    color: #4a5568;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    text-align: center;
    font-style: italic;
    border: 1px solid #e2e8f0;
    margin-bottom: 8px;
}

.incident-item {
    padding: 16px;
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
}

.incident-time {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    margin-bottom: 6px;
    font-family: 'Courier New', monospace;
}

.incident-description {
    color: #666;
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.4;
}

.incident-duration {
    font-size: 12px;
    color: #999;
    font-style: italic;
}

/* Mobile responsive modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 90vh;
        margin: 20px;
    }
    
    .modal-header {
        padding: 16px 20px;
    }
    
    .modal-header h3 {
        font-size: 16px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .status-summary {
        padding: 12px;
        margin-bottom: 16px;
    }
    
    .status-text {
        font-size: 14px;
    }
    
    .no-incidents {
        padding: 24px 16px;
        font-size: 14px;
    }
    
    .incident-item {
        padding: 12px;
    }
    
    .incident-time {
        font-size: 13px;
    }
    
    .incident-description {
        font-size: 13px;
    }
}

/* Chart date labels */
.chart-date-label {
    position: absolute;
    bottom: 0;
    transform: translateX(-50%);
    font-family: system-ui, -apple-system, sans-serif;
    pointer-events: none;
    white-space: nowrap;
    z-index: 10;
}

/* 404 Error Page Styles */
.error-container {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.error-code {
    font-size: 8rem;
    font-weight: bold;
    color: #e74c3c;
    margin: 0;
    line-height: 1;
}

.error-title {
    font-size: 2rem;
    color: #2c3e50;
    margin: 1rem 0;
}

.error-description {
    font-size: 1.1rem;
    color: #f9f9f9;
    margin-bottom: 2rem;
    max-width: 600px;
}

.error-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.error-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.error-btn-primary {
    background: #3498db;
    color: white;
}

.error-btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.error-btn-secondary {
    background: #ecf0f1;
    color: #2c3e50;
}

.error-btn-secondary:hover {
    background: #d5dbdb;
    transform: translateY(-2px);
}

.url-examples {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    max-width: 700px;
}

.url-examples h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.url-examples ul {
    list-style: none;
    padding: 0;
}

.url-examples li {
    background: white;
    margin: 0.5rem 0;
    padding: 0.8rem;
    border-radius: 4px;
    font-family: monospace;
    border-left: 4px solid #27ae60;
}

.url-examples .invalid {
    border-left-color: #e74c3c;
    background: #fdf2f2;
}

@media (max-width: 768px) {
    .error-code {
        font-size: 5rem;
    }
    
    .error-title {
        font-size: 1.5rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .error-btn {
        width: 200px;
    }
}