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

:root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #1e293b;
    --bg-card-hover: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-green: #10b981;
    --accent-yellow: #f59e0b;
    --accent-orange: #f97316;
    --accent-red: #ef4444;
    --border-color: #334155;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header Styles */
.header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.test-badge {
    padding: 0.25rem 0.75rem;
    background: var(--accent-yellow);
    color: var(--bg-primary);
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: 9999px;
    letter-spacing: 0.05em;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.nav-link {
    padding: 0.5rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.nav-link.active {
    color: var(--text-primary);
    font-weight: 700;
}

.header-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    justify-self: end;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: pulse 2s ease-in-out infinite;
}

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

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Status Card */
.status-card {
    background: var(--bg-card);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading {
    text-align: center;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border-color);
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}

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

.hidden {
    display: none !important;
}

/* No Connection State */
.no-connection {
    text-align: center;
    width: 100%;
}

.no-connection-icon {
    margin: 0 auto 1.5rem;
    animation: fadeIn 0.5s ease-out;
}

.no-connection-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-muted);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.no-connection-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.no-connection-subtext {
    font-size: 0.875rem;
    color: var(--text-muted);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.connection-info {
    width: 100%;
}

/* Connection Level Display */
.connection-level-display {
    text-align: center;
    margin-bottom: 2.5rem;
}

.level-indicator {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem;
}

.level-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid transparent;
}

.level-ring:nth-child(1) {
    border-color: rgba(59, 130, 246, 0.2);
}

.level-ring:nth-child(2) {
    inset: 12px;
    border-color: rgba(59, 130, 246, 0.4);
}

.level-ring:nth-child(3) {
    inset: 24px;
    border-color: rgba(59, 130, 246, 0.6);
    animation: rotateRing 3s linear infinite;
}

@keyframes rotateRing {
    to { transform: rotate(360deg); }
}

.level-number {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.level-label {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* Station Info */
.station-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-value {
    font-size: 1.125rem;
    font-weight: 600;
}

.station-code {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: 0.1em;
}

/* Performance Bars */
.performance-bars {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.perf-bar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.perf-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    font-weight: 600;
}

.perf-bar-track {
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 9999px;
    overflow: hidden;
}

.perf-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    border-radius: 9999px;
    transition: width 0.6s ease-out;
}

/* Coordinate Input Card */
.coordinate-input-card {
    background: var(--bg-card);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.coordinate-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.coordinate-subtitle {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.coordinate-input-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.coordinate-input {
    flex: 1;
    min-width: 250px;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
}

.coordinate-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.coordinate-input::placeholder {
    color: var(--text-muted);
}

.coordinate-button {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.coordinate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.coordinate-button:active {
    transform: translateY(0);
}

.coordinate-button.secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.coordinate-button.secondary:hover {
    background: var(--bg-card-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.coordinate-error {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--accent-red);
    border-radius: 0.5rem;
    color: var(--accent-red);
    font-size: 0.875rem;
}

/* Map Container */
.map-container {
    background: var(--bg-card);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

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

.map-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.map-legend {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-online {
    background: var(--accent-green);
}

.legend-offline {
    background: var(--accent-red);
}

.legend-user {
    background: var(--accent-purple);
}

.map {
    height: 500px;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

/* Stations Grid */
.stations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.station-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.station-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.station-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.station-card:hover::before {
    opacity: 1;
}

.station-card.nearest {
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
}

.station-card.nearest::before {
    opacity: 1;
}

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

.station-code-badge {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.station-level {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.station-level.level-5 {
    background: var(--accent-green);
    color: white;
}

.station-level.level-4 {
    background: var(--accent-blue);
    color: white;
}

.station-level.level-3 {
    background: var(--accent-yellow);
    color: white;
}

.station-level.level-2 {
    background: var(--accent-orange);
    color: white;
}

.station-level.level-1 {
    background: var(--accent-red);
    color: white;
}

.station-level.level-0 {
    background: var(--accent-red);
    color: white;
}

.station-name {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.station-status-badge {
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.station-status-badge.offline {
    background: rgba(239, 68, 68, 0.2);
    color: var(--accent-red);
    border: 1px solid var(--accent-red);
}

.station-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.station-meta-row {
    display: flex;
    justify-content: space-between;
}

.station-meta-label {
    color: var(--text-muted);
}

/* Footer */
.footer {
    margin-top: 3rem;
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    border-top: 1px solid var(--border-color);
}

.footer-sub {
    margin-top: 0.25rem;
    font-size: 0.75rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0.75rem;
    }

    .header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .status-card {
        padding: 1.5rem;
    }

    .level-indicator {
        width: 120px;
        height: 120px;
    }

    .level-number {
        font-size: 3rem;
    }

    .level-label {
        font-size: 1.25rem;
    }

    .map-container {
        padding: 1rem;
    }

    .map-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .map-legend {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .map {
        height: 400px;
    }

    .stations-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.25rem;
    }

    .status-card {
        padding: 1rem;
        min-height: 350px;
    }

    .station-info {
        padding: 1rem;
    }

    .info-value {
        font-size: 1rem;
    }
}

/* Status Page Styles */
.status-page-header {
    text-align: center;
    margin-bottom: 2rem;
}

.status-page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.status-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.status-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.summary-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.summary-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.summary-value.online {
    color: var(--accent-green);
}

.summary-value.offline {
    color: var(--accent-red);
}

.summary-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.status-station-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.status-station-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.status-station-card.online {
    border-left: 4px solid var(--accent-green);
}

.status-station-card.offline {
    border-left: 4px solid var(--accent-red);
}

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

.status-station-code {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Inter', monospace;
    color: var(--text-primary);
    background: var(--bg-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-indicator.online {
    color: var(--accent-green);
}

.status-indicator.offline {
    color: var(--accent-red);
}

.status-station-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.status-station-coords {
    font-size: 0.875rem;
    font-family: 'Inter', monospace;
    color: var(--text-muted);
}

/* Responsive adjustments for status page */
@media (max-width: 768px) {
    .status-page-header h1 {
        font-size: 2rem;
    }

    .status-summary {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .summary-value {
        font-size: 2rem;
    }

    .status-grid {
        grid-template-columns: 1fr;
    }
}

/* iOS Specific Adjustments */
@supports (-webkit-touch-callout: none) {
    body {
        min-height: -webkit-fill-available;
    }

    .container {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* ============================================
   Incidents Section
   ============================================ */

.incidents-section {
    margin: 2rem 0;
}

.incidents-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.incidents-heading::before {
    content: '⚠';
    font-size: 1.75rem;
    color: var(--accent-orange);
}

.incident-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent-blue);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.incident-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.incident-card.severity-minor {
    border-left-color: var(--accent-yellow);
}

.incident-card.severity-major {
    border-left-color: var(--accent-orange);
}

.incident-card.severity-critical {
    border-left-color: var(--accent-red);
}

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

.incident-badges {
    display: flex;
    gap: 0.5rem;
}

.incident-severity-badge,
.incident-status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.incident-severity-badge.minor {
    background: rgba(251, 191, 36, 0.2);
    color: var(--accent-yellow);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.incident-severity-badge.minor::before {
    content: '●';
    font-size: 0.625rem;
}

.incident-severity-badge.major {
    background: rgba(251, 146, 60, 0.2);
    color: var(--accent-orange);
    border: 1px solid rgba(251, 146, 60, 0.3);
}

.incident-severity-badge.major::before {
    content: '●●';
    font-size: 0.625rem;
    letter-spacing: -2px;
}

.incident-severity-badge.critical {
    background: rgba(239, 68, 68, 0.2);
    color: var(--accent-red);
    border: 1px solid rgba(239, 68, 68, 0.3);
    animation: pulse-critical 2s ease-in-out infinite;
}

.incident-severity-badge.critical::before {
    content: '⚠';
    font-size: 0.875rem;
}

@keyframes pulse-critical {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(239, 68, 68, 0);
    }
}

.incident-status-badge.investigating {
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-blue);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.incident-status-badge.investigating::before {
    content: '🔍';
    font-size: 0.75rem;
}

.incident-status-badge.identified {
    background: rgba(251, 191, 36, 0.2);
    color: var(--accent-yellow);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.incident-status-badge.identified::before {
    content: '✓';
    font-size: 0.875rem;
}

.incident-status-badge.monitoring {
    background: rgba(139, 92, 246, 0.2);
    color: var(--accent-purple);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.incident-status-badge.monitoring::before {
    content: '👁';
    font-size: 0.75rem;
}

.incident-status-badge.resolved {
    background: rgba(34, 197, 94, 0.2);
    color: var(--accent-green);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.incident-status-badge.resolved::before {
    content: '✓';
    font-size: 0.875rem;
    font-weight: bold;
}

.incident-time {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.incident-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.incident-card.severity-critical .incident-title::before {
    content: '🔴';
    font-size: 1rem;
    animation: blink 1.5s ease-in-out infinite;
}

.incident-card.severity-major .incident-title::before {
    content: '🟠';
    font-size: 1rem;
}

.incident-card.severity-minor .incident-title::before {
    content: '🟡';
    font-size: 1rem;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.incident-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.incident-affected {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 6px;
}

.incident-affected strong {
    color: var(--text-primary);
}

.incident-updates {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.incident-update {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.incident-update:last-child {
    margin-bottom: 0;
}

.incident-update-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.incident-update-message {
    color: var(--text-secondary);
    line-height: 1.6;
}

.incident-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.incident-updated {
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .incident-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .incident-title {
        font-size: 1.1rem;
    }
}
