/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* Screen Management */
.screen {
    display: none;
}

.screen.active {
    display: block;
}

/* Login Screen */
#loginScreen {
    background: linear-gradient(135deg, #004A5C 0%, #003A4A 100%);
    min-height: 100vh;
}

#loginScreen.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-header {
    margin-bottom: 2rem;
}

.login-header .logo {
    font-size: 3rem;
    color: #004A5C;
    margin-bottom: 1rem;
}

.login-header h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #666;
    font-size: 0.9rem;
}

.login-form {
    text-align: left;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #004A5C;
}

.login-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e1e5e9;
}

.login-footer p {
    color: #666;
    font-size: 0.8rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: #004A5C;
    color: white;
    width: 100%;
    justify-content: center;
}

.btn-primary:hover {
    background: #003A4A;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-warning {
    background: #ffc107;
    color: #212529;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

/* Dashboard Layout */
#dashboardScreen {
    min-height: 100vh;
}

#dashboardScreen.active {
    display: flex;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: #DDE3E8 !important;
    color: #333 !important;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #C0C8D0;
    text-align: center;
}

.sidebar-header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    max-width: 120px;
    margin: 0 auto;
}

.sidebar-header .logo i {
    font-size: 2.5rem;
    color: #004A5C;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.sidebar-header .logo span {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.sidebar-menu {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: calc(100vh - 200px);
}

.menu-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 2rem 0;
    list-style: none;
    margin: 0;
}

.menu-main li {
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 60px;
}

.menu-footer {
    margin-top: auto;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    margin: 0.3rem 0;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.menu-item:hover {
    background-color: #C0C8D0;
    border-left-color: #004A5C;
    transform: translateX(5px);
}

.menu-item.active {
    background: linear-gradient(135deg, #004A5C 0%, #003A4A 100%);
    border-left-color: #003A4A;
    box-shadow: 0 4px 8px rgba(0, 74, 92, 0.3);
}

.menu-item.active span {
    color: white !important;
}

.menu-item.active i {
    color: white !important;
}

.menu-item.active::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid #004A5C;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.menu-item i {
    width: 24px;
    text-align: center;
    font-size: 1.2rem;
}

.menu-item span {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #333 !important;
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid #C0C8D0;
    background-color: rgba(0, 0, 0, 0.05);
    margin-top: auto;
}

.sidebar-footer .btn {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1rem;
    background-color: rgba(220, 53, 69, 0.8);
    border: 1px solid rgba(220, 53, 69, 0.3);
    transition: all 0.3s ease;
}

.sidebar-footer .btn:hover {
    background-color: #dc3545;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

/* Sidebar enhancements */
.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 74, 92, 0.05) 0%, rgba(0, 58, 74, 0.05) 100%);
    pointer-events: none;
}

.sidebar-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #004A5C, transparent);
}

/* Menu item animations */
.menu-item {
    overflow: hidden;
}

.menu-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.menu-item:hover::after {
    left: 100%;
}

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

.header {
    background: white;
    padding: 1rem 2rem;
    border-bottom: 1px solid #e1e5e9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-left h2 {
    color: #333;
    font-size: 1.5rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.user-info i {
    font-size: 1.5rem;
    color: #004A5C;
}

.content {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

/* Content Sections */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

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

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #004A5C;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-info h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 0.25rem;
}

.stat-info p {
    color: #666;
    font-size: 0.9rem;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.dashboard-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dashboard-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h3 {
    color: #333;
    font-size: 1.5rem;
}

/* Tables */
.table-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: #f8f9fa;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e1e5e9;
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid #e1e5e9;
}

.data-table tr:hover {
    background-color: #f8f9fa;
}

.no-data {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 2rem;
}

/* Reports Grid */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.report-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.report-card h4 {
    color: #333;
    margin-bottom: 1rem;
}

.chart-placeholder {
    height: 200px;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    border: 2px dashed #dee2e6;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

.modal-header h3 {
    color: #333;
    font-size: 1.3rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background-color: #f8f9fa;
}

.modal-body {
    padding: 1.5rem;
}

/* Confirm Modal Styles */
.confirm-modal {
    text-align: center;
    padding: 1rem 0;
}

.confirm-icon {
    font-size: 4rem;
    color: #4A9B8E;
    margin-bottom: 1rem;
}

.confirm-modal h4 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.incidence-details {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: left;
}

.incidence-details p {
    margin: 0.5rem 0;
    color: #555;
    font-size: 0.95rem;
}

.incidence-details strong {
    color: #333;
    font-weight: 600;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.modal-actions .btn {
    min-width: 120px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.modal-actions .btn-secondary {
    background: #6c757d;
    color: white;
}

.modal-actions .btn-secondary:hover {
    background: #5a6268;
}

.modal-actions .btn-primary {
    background: #4A9B8E;
    color: white;
}

.modal-actions .btn-primary:hover {
    background: #3d7d72;
}

/* Notification Animations */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        width: 250px;
    }
    
    .sidebar-header {
        padding: 1.5rem 1rem;
    }
    
    .sidebar-header .logo {
        font-size: 1.5rem;
    }
    
    .sidebar-header .logo i {
        font-size: 2rem;
    }
    
    .menu-main {
        padding: 1rem 0;
    }
    
    .menu-item {
        padding: 1.2rem 1.5rem;
        margin: 0.2rem 0;
    }
    
    .content {
        padding: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .table-container {
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    #dashboardScreen {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
    }
    
    .sidebar-menu {
        display: flex;
        overflow-x: auto;
        padding: 0.5rem;
    }
    
    .menu-item {
        white-space: nowrap;
        min-width: 120px;
    }
}

/* Status badges */
.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-badge.in-progress {
    background-color: #d1ecf1;
    color: #0c5460;
}

.status-badge.completed {
    background-color: #d4edda;
    color: #155724;
}

.status-badge.cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

.status-badge.active {
    background-color: #d4edda;
    color: #155724;
}

/* Task and worker items */
.task-item, .worker-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border-bottom: 1px solid #e1e5e9;
}

.task-item:last-child, .worker-item:last-child {
    border-bottom: none;
}

/* Worker info styling */
.worker-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.worker-details {
    color: #6c757d;
    font-size: 0.8rem;
    font-style: italic;
}

.task-status, .worker-status {
    font-size: 0.8rem;
    font-weight: 600;
}

.task-status.completed, .worker-status.active {
    color: #28a745;
}

.task-status.pending {
    color: #ffc107;
}

.task-status.in-progress {
    color: #17a2b8;
}

/* Small buttons */
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    margin: 0 0.25rem;
}

/* Form actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e1e5e9;
}

/* Location picker styles */
.location-picker-container {
    max-width: 100%;
}

.location-picker-container #map {
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.location-picker-container .form-group {
    margin-bottom: 1rem;
}

.location-picker-container .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.location-picker-container .form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.location-picker-container .form-control:focus {
    outline: none;
    border-color: #004A5C;
    box-shadow: 0 0 0 3px rgba(0, 74, 92, 0.1);
}

/* Role-specific fields styling */
#supervisorFields,
#adminUnidadFields {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

#supervisorFields label,
#adminUnidadFields label {
    color: #495057;
    font-weight: 600;
}

#supervisorFields input,
#adminUnidadFields input {
    background-color: white;
    border: 2px solid #dee2e6;
}

#supervisorFields input:focus,
#adminUnidadFields input:focus {
    border-color: #004A5C;
    box-shadow: 0 0 0 0.2rem rgba(0, 74, 92, 0.25);
}

/* Role selection styling */
#userRole {
    font-weight: 500;
}

#userRole option {
    padding: 0.5rem;
}

/* Role badges styling */
.role-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-badge.worker {
    background-color: #e3f2fd;
    color: #1976d2;
    border: 1px solid #bbdefb;
}

.role-badge.supervisor {
    background-color: #f3e5f5;
    color: #7b1fa2;
    border: 1px solid #ce93d8;
}

.role-badge.admin_unidad {
    background-color: #e8f5e8;
    color: #388e3c;
    border: 1px solid #a5d6a7;
}

/* Estilos para la columna de actividad */
.activity-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

/* Admin credentials styling */
.admin-credentials {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    text-align: left;
}

.admin-credentials h4 {
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.admin-credentials p {
    margin: 0.25rem 0;
    font-size: 0.8rem;
    color: #6c757d;
}

.admin-credentials strong {
    color: #495057;
}

/* Survey Styles */
.question-item {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

.question-item .form-group {
    margin-bottom: 0.75rem;
}

.question-item .form-group:last-child {
    margin-bottom: 0;
}

.question-options {
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.5rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background-color: #e3f2fd;
    color: #1976d2;
    border: 1px solid #bbdefb;
}

.badge-info {
    background-color: #e8f5e8;
    color: #388e3c;
    border: 1px solid #a5d6a7;
}

.badge-warning {
    background-color: #fff3e0;
    color: #f57c00;
    border: 1px solid #ffcc02;
}

.badge-success {
    background-color: #e8f5e8;
    color: #388e3c;
    border: 1px solid #a5d6a7;
}

.badge-secondary {
    background-color: #f5f5f5;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

/* Incidencias Reportadas Styles */
.incidencias-section {
    margin-top: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.incidencias-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

.incidencias-section .section-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.incidencias-table-container {
    overflow-x: auto;
}

.incidencias-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.incidencias-table th {
    background-color: #f8f9fa;
    color: #495057;
    font-weight: 600;
    padding: 1rem 0.75rem;
    text-align: left;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
}

.incidencias-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #dee2e6;
    vertical-align: top;
}

.incidencias-table tbody tr:hover {
    background-color: #f8f9fa;
}

.loading-row {
    text-align: center;
    color: #6c757d;
    font-style: italic;
}

.severity-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.severity-low {
    background-color: #d4edda;
    color: #155724;
}

.severity-medium {
    background-color: #fff3cd;
    color: #856404;
}

.severity-high {
    background-color: #f8d7da;
    color: #721c24;
}

.severity-critical {
    background-color: #f5c6cb;
    color: #721c24;
}

.incidence-type-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

.type-quality {
    background-color: #e3f2fd;
    color: #1565c0;
}

.type-safety {
    background-color: #fff3e0;
    color: #ef6c00;
}

.type-performance {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.type-other {
    background-color: #e8f5e8;
    color: #2e7d32;
}

.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-open {
    background-color: #fff3cd;
    color: #856404;
}

.status-closed {
    background-color: #d4edda;
    color: #155724;
}

.comment-preview {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    padding: 0.25rem 0.5rem;
    border: none;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn.view {
    background-color: #007bff;
    color: white;
}

.action-btn.view:hover {
    background-color: #0056b3;
}

.action-btn.resolve {
    background-color: #28a745;
    color: white;
}

.action-btn.resolve:hover {
    background-color: #1e7e34;
}

/* Comment Status Badges */
.comment-status {
    margin-top: 0.5rem;
}

.comment-status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.comment-status-badge.comment {
    background-color: #e3f2fd;
    color: #1565c0;
}

.comment-status-badge.incidence {
    background-color: #fff3e0;
    color: #ef6c00;
}

.comment-status-badge.reported {
    background-color: #ffebee;
    color: #c62828;
}

/* Incidence Details Modal */
.incidence-details {
    max-width: 600px;
}

.detail-row {
    margin-bottom: 1rem;
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.incidence-images {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.incidence-image {
    border: 2px solid #dee2e6;
    transition: all 0.2s;
}

.incidence-image:hover {
    border-color: #007bff;
    transform: scale(1.05);
}