/* SafeStage Mobile-First CSS */
/* Color Palette: Navy #001f3f, Teal #00b8a9, Dark Grey #2c3e50 */

:root {
    --primary-navy: #001f3f;
    --accent-teal: #00b8a9;
    --dark-grey: #2c3e50;
    --light-grey: #ecf0f1;
    --white: #ffffff;
    --error: #e74c3c;
    --warning: #f39c12;
    --success: #27ae60;
    --info: #3498db;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--light-grey);
    color: var(--dark-grey);
    line-height: 1.6;
    padding-bottom: 60px;
}

/* Header */
.app-header {
    background-color: var(--primary-navy);
    color: var(--white);
    padding: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-teal);
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: 0.3s;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-name {
    font-size: 0.9rem;
    display: none;
}

@media (min-width: 768px) {
    .user-name {
        display: inline;
    }
}

.btn-logout {
    background-color: var(--accent-teal);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.btn-logout:hover {
    background-color: #009688;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1100;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: var(--primary-navy);
    color: var(--white);
}

.close-menu {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

.menu-list {
    list-style: none;
    padding: 0;
}

.menu-list li {
    border-bottom: 1px solid var(--light-grey);
}

.menu-list a {
    display: block;
    padding: 1rem;
    color: var(--dark-grey);
    text-decoration: none;
    transition: background-color 0.3s;
}

.menu-list a:hover {
    background-color: var(--light-grey);
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
}

.menu-overlay.active {
    display: block;
}

/* Main Content */
.main-content {
    margin-top: 70px;
    padding: 1rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Flash Messages */
.flash-messages {
    margin-bottom: 1rem;
}

.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alert button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: inherit;
}

.alert-success {
    background-color: var(--success);
    color: var(--white);
}

.alert-error {
    background-color: var(--error);
    color: var(--white);
}

.alert-warning {
    background-color: var(--warning);
    color: var(--white);
}

.alert-info {
    background-color: var(--info);
    color: var(--white);
}

/* Cards */
.card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-teal);
}

.card-title {
    font-size: 1.3rem;
    color: var(--primary-navy);
    margin: 0;
}

.card-body {
    color: var(--dark-grey);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-teal);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #009688;
}

.btn-secondary {
    background-color: var(--dark-grey);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #34495e;
}

.btn-danger {
    background-color: var(--error);
    color: var(--white);
}

.btn-danger:hover {
    background-color: #c0392b;
}

.btn-success {
    background-color: var(--success);
    color: var(--white);
}

.btn-success:hover {
    background-color: #229954;
}

.btn-block {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-grey);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--light-grey);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-teal);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232c3e50' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Lists */
.list-group {
    list-style: none;
    background-color: var(--white);
    border-radius: 5px;
    overflow: hidden;
}

.list-item {
    padding: 1rem;
    border-bottom: 1px solid var(--light-grey);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.list-item:last-child {
    border-bottom: none;
}

.list-item:hover {
    background-color: var(--light-grey);
}

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

.stat-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-teal);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--dark-grey);
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge-success {
    background-color: var(--success);
    color: var(--white);
}

.badge-danger {
    background-color: var(--error);
    color: var(--white);
}

.badge-warning {
    background-color: var(--warning);
    color: var(--white);
}

.badge-info {
    background-color: var(--info);
    color: var(--white);
}

/* Footer */
.app-footer {
    background-color: var(--primary-navy);
    color: var(--white);
    text-align: center;
    padding: 1rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}

.app-footer p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.org-name {
    color: var(--accent-teal);
    font-weight: 500;
}

/* Responsive */
@media (min-width: 768px) {
    .main-content {
        padding: 2rem;
    }
    
    .card {
        padding: 2rem;
    }
}

/* Loading Spinner */
.spinner {
    border: 4px solid var(--light-grey);
    border-top: 4px solid var(--accent-teal);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

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

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--dark-grey);
}

.empty-state h3 {
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

/* Utilities */
.text-center {
    text-align: center;
}

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

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

.text-muted {
    color: #95a5a6;
}

.text-small {
    font-size: 0.875rem;
}
}

/* Logo in Header */
.header-logo {
    height: 40px;
    width: auto;
}

.logo-text {
    display: none;
}

@media (min-width: 768px) {
    .header-logo {
        height: 45px;
    }
}

/* Login Page */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-navy) 0%, #003366 100%);
    padding: 1rem;
}

.login-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.login-logo {
    display: block;
    max-width: 200px;
    margin: 0 auto 2rem auto;
}

.login-title {
    text-align: center;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.login-subtitle {
    text-align: center;
    color: var(--dark-grey);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Table Styling */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.table th,
.table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--light-grey);
}

.table th {
    background-color: var(--primary-navy);
    color: var(--white);
    font-weight: 500;
}

.table tbody tr:hover {
    background-color: rgba(0, 184, 169, 0.1);
}

.table-striped tbody tr:nth-child(odd) {
    background-color: rgba(0, 31, 63, 0.03);
}

/* Dashboard Cards */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card-large {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #003366 100%);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.stat-card-large .stat-value {
    font-size: 2.5rem;
    color: var(--accent-teal);
}

.stat-card-large .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-title {
    color: var(--primary-navy);
    font-size: 1.75rem;
    margin: 0;
}}

/* Logo in Header */
.header-logo {
    height: 40px;
    width: auto;
}

.logo-text {
    display: none;
}

@media (min-width: 768px) {
    .header-logo {
        height: 45px;
    }
}

/* Login Page */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-navy) 0%, #003366 100%);
    padding: 1rem;
}

.login-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.login-logo {
    display: block;
    max-width: 200px;
    margin: 0 auto 2rem auto;
}

.login-title {
    text-align: center;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.login-subtitle {
    text-align: center;
    color: var(--dark-grey);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Table Styling */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.table th,
.table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--light-grey);
}

.table th {
    background-color: var(--primary-navy);
    color: var(--white);
    font-weight: 500;
}

.table tbody tr:hover {
    background-color: rgba(0, 184, 169, 0.1);
}

.table-striped tbody tr:nth-child(odd) {
    background-color: rgba(0, 31, 63, 0.03);
}

/* Dashboard Cards */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card-large {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #003366 100%);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.stat-card-large .stat-value {
    font-size: 2.5rem;
    color: var(--accent-teal);
}

.stat-card-large .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-title {
    color: var(--primary-navy);
    font-size: 1.75rem;
    margin: 0;
}}

/* Logo in Header */
.header-logo {
    height: 40px;
    width: auto;
}

.logo-text {
    display: none;
}

@media (min-width: 768px) {
    .header-logo {
        height: 45px;
    }
}

/* Login Page */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-navy) 0%, #003366 100%);
    padding: 1rem;
}

.login-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.login-logo {
    display: block;
    max-width: 200px;
    margin: 0 auto 2rem auto;
}

.login-title {
    text-align: center;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.login-subtitle {
    text-align: center;
    color: var(--dark-grey);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Table Styling */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.table th,
.table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--light-grey);
}

.table th {
    background-color: var(--primary-navy);
    color: var(--white);
    font-weight: 500;
}

.table tbody tr:hover {
    background-color: rgba(0, 184, 169, 0.1);
}

.table-striped tbody tr:nth-child(odd) {
    background-color: rgba(0, 31, 63, 0.03);
}

/* Dashboard Cards */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card-large {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #003366 100%);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.stat-card-large .stat-value {
    font-size: 2.5rem;
    color: var(--accent-teal);
}

.stat-card-large .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-title {
    color: var(--primary-navy);
    font-size: 1.75rem;
    margin: 0;
}}

/* Logo in Header */
.header-logo {
    height: 40px;
    width: auto;
}

.logo-text {
    display: none;
}

@media (min-width: 768px) {
    .header-logo {
        height: 45px;
    }
}

/* Login Page */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-navy) 0%, #003366 100%);
    padding: 1rem;
}

.login-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.login-logo {
    display: block;
    max-width: 200px;
    margin: 0 auto 2rem auto;
}

.login-title {
    text-align: center;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.login-subtitle {
    text-align: center;
    color: var(--dark-grey);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Table Styling */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.table th,
.table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--light-grey);
}

.table th {
    background-color: var(--primary-navy);
    color: var(--white);
    font-weight: 500;
}

.table tbody tr:hover {
    background-color: rgba(0, 184, 169, 0.1);
}

.table-striped tbody tr:nth-child(odd) {
    background-color: rgba(0, 31, 63, 0.03);
}

/* Dashboard Cards */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card-large {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #003366 100%);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.stat-card-large .stat-value {
    font-size: 2.5rem;
    color: var(--accent-teal);
}

.stat-card-large .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-title {
    color: var(--primary-navy);
    font-size: 1.75rem;
    margin: 0;
}}

/* Logo in Header */
.header-logo {
    height: 40px;
    width: auto;
}

.logo-text {
    display: none;
}

@media (min-width: 768px) {
    .header-logo {
        height: 45px;
    }
}

/* Login Page */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-navy) 0%, #003366 100%);
    padding: 1rem;
}

.login-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.login-logo {
    display: block;
    max-width: 200px;
    margin: 0 auto 2rem auto;
}

.login-title {
    text-align: center;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.login-subtitle {
    text-align: center;
    color: var(--dark-grey);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Table Styling */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.table th,
.table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--light-grey);
}

.table th {
    background-color: var(--primary-navy);
    color: var(--white);
    font-weight: 500;
}

.table tbody tr:hover {
    background-color: rgba(0, 184, 169, 0.1);
}

.table-striped tbody tr:nth-child(odd) {
    background-color: rgba(0, 31, 63, 0.03);
}

/* Dashboard Cards */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card-large {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #003366 100%);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.stat-card-large .stat-value {
    font-size: 2.5rem;
    color: var(--accent-teal);
}

.stat-card-large .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-title {
    color: var(--primary-navy);
    font-size: 1.75rem;
    margin: 0;
}

/* Logo in Header */
.header-logo {
    height: 40px;
    width: auto;
}

.logo-text {
    display: none;
}

@media (min-width: 768px) {
    .header-logo {
        height: 45px;
    }
}

/* Login Page */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-navy) 0%, #003366 100%);
    padding: 1rem;
}

.login-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.login-logo {
    display: block;
    max-width: 200px;
    margin: 0 auto 2rem auto;
}

.login-title {
    text-align: center;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.login-subtitle {
    text-align: center;
    color: var(--dark-grey);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Table Styling */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.table th,
.table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--light-grey);
}

.table th {
    background-color: var(--primary-navy);
    color: var(--white);
    font-weight: 500;
}

.table tbody tr:hover {
    background-color: rgba(0, 184, 169, 0.1);
}

.table-striped tbody tr:nth-child(odd) {
    background-color: rgba(0, 31, 63, 0.03);
}

/* Dashboard Cards */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card-large {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #003366 100%);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.stat-card-large .stat-value {
    font-size: 2.5rem;
    color: var(--accent-teal);
}

.stat-card-large .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-title {
    color: var(--primary-navy);
    font-size: 1.75rem;
    margin: 0;
}

/* Incident indicator dot in header */
.incident-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #dc3545;
    border-radius: 50%;
    margin-left: 8px;
    animation: pulse-dot 2s infinite;
    vertical-align: middle;
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(220, 53, 69, 0);
    }
}

/* Header quick action buttons */
.header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    margin-right: 10px;
    transition: background 0.2s, transform 0.2s;
}

.header-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    transform: scale(1.1);
}

.header-btn svg {
    flex-shrink: 0;
}

/* Notification badge */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
}

.header-btn {
    position: relative;
}

/* Collapsible Menu Sections */
.nav-section {
    font-weight: 600;
    color: #001f3f;
    padding: 10px 15px;
    margin-top: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border-radius: 5px;
    user-select: none;
    list-style: none;
}
.nav-section:hover {
    background: #e9ecef;
}
.nav-section::after {
    content: '▼';
    font-size: 0.7em;
    transition: transform 0.3s;
}
.nav-section.collapsed::after {
    transform: rotate(-90deg);
}
.nav-section-items {
    overflow: hidden;
    max-height: 500px;
    transition: max-height 0.3s ease-out;
}
.nav-section-items.collapsed {
    max-height: 0;
}
.nav-section-items li {
    padding-left: 15px;
}

/* Collapsible Menu Sections */
.nav-section {
    font-weight: 600;
    color: #001f3f;
    padding: 10px 15px;
    margin-top: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border-radius: 5px;
    user-select: none;
    list-style: none;
}
.nav-section:hover {
    background: #e9ecef;
}
.nav-section::after {
    content: '▼';
    font-size: 0.7em;
    transition: transform 0.3s;
}
.nav-section.collapsed::after {
    transform: rotate(-90deg);
}
.nav-section-items {
    overflow: hidden;
    max-height: 500px;
    transition: max-height 0.3s ease-out;
}
.nav-section-items.collapsed {
    max-height: 0;
}
.nav-section-items li {
    padding-left: 15px;
}

/* Clickable stat cards */
a.stat-card {
    transition: transform 0.2s, box-shadow 0.2s;
}
a.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
