/* ERROR TABLES & WORKFLOW STYLES - Extrait lignes 1838-2269 */
.workflow-step {
padding: 0.75rem;
border-left: 3px solid var(--v2-border-color);
margin-left: 0.5rem;
border-radius: 0 8px 8px 0;
transition: all 0.3s ease;
}
.workflow-step.active {
border-left-color: var(--v2-primary);
background: linear-gradient(90deg, rgba(69, 90, 100, 0.15) 0%, transparent 100%);
color: var(--v2-text-color);
}
.workflow-step.completed {
border-left-color: var(--v2-success);
background: linear-gradient(90deg, rgba(93, 64, 55, 0.15) 0%, transparent 100%);
color: var(--v2-text-color);
}
.alert-sm {
padding: 0.5rem 0.75rem;
font-size: 0.875rem;
}
.workflow-section {
background: var(--v2-bg-primary);
border-radius: 8px;
padding: 1.5rem;
border: 1px solid var(--v2-border-color);
color: var(--v2-text-color);
}
.profile-content pre {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
color: var(--v2-text-color);
}

/* Styles modernes pour le tableau des erreurs */
.modern-error-table {
background: #1A1A1A;
border-radius: 8px;
overflow: hidden;
border: 1px solid #333;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modern-table-header {
background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
color: #E0E0E0;
border-bottom: 2px solid #455A64;
}

.modern-table-header th {
border: none;
padding: 0.75rem 0.5rem;
font-weight: 600;
font-size: 0.8rem;
text-transform: uppercase;
letter-spacing: 0.5px;
color: #B0BEC5;
}

.modern-error-table tbody tr {
background: #1E1E1E;
border-bottom: 1px solid #333;
transition: all 0.2s ease;
}

.modern-error-table tbody td {
padding: 0.6rem 0.5rem;
border: none;
color: #E0E0E0;
vertical-align: middle;
font-size: 0.8rem;
}

/* Styles pour les cellules spécifiques */
.error-type-cell {
font-weight: 500;
}

.error-type-content {
display: flex;
align-items: center;
gap: 0.3rem;
}

.error-type-content i {
font-size: 0.7rem;
color: #666;
}

.error-type-name {
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
font-size: 0.75rem;
color: #FF6B6B;
background: rgba(255, 107, 107, 0.15);
padding: 0.2rem 0.4rem;
border-radius: 3px;
border-left: 2px solid #FF6B6B;
line-height: 1.2;
}

.exercise-cell {
text-align: center;
}

.badge-exercise {
background: linear-gradient(135deg, #4A90E2, #357ABD);
color: white;
padding: 0.25rem 0.5rem;
border-radius: 12px;
font-size: 0.65rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.3px;
}

.location-cell {
font-size: 0.7rem;
max-width: 200px;
word-wrap: break-word;
word-break: break-word;
}

.location-cell small {
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
color: #888;
background: rgba(136, 136, 136, 0.1);
padding: 0.15rem 0.3rem;
border-radius: 3px;
font-size: 0.65rem;
white-space: normal;
}

.severity-cell {
text-align: center;
}

.severity-badge {
padding: 0.25rem 0.5rem;
border-radius: 12px;
font-size: 0.65rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.3px;
display: inline-flex;
align-items: center;
gap: 0.2rem;
}

.severity-badge.bg-danger {
background: linear-gradient(135deg, #E74C3C, #C0392B) !important;
color: white;
box-shadow: 0 1px 4px rgba(231, 76, 60, 0.3);
}

.severity-badge.bg-warning {
background: linear-gradient(135deg, #F39C12, #E67E22) !important;
color: white;
box-shadow: 0 1px 4px rgba(243, 156, 18, 0.3);
}

.severity-badge.bg-success {
background: linear-gradient(135deg, #27AE60, #229954) !important;
color: white;
box-shadow: 0 1px 4px rgba(39, 174, 96, 0.3);
}

.description-cell {
font-size: 0.75rem;
line-height: 1.3;
max-width: 300px;
}

.description-content {
color: #C0C0C0;
background: rgba(255, 255, 255, 0.05);
padding: 0.3rem 0.4rem;
border-radius: 4px;
border-left: 2px solid #4A90E2;
font-size: 0.75rem;
white-space: normal;
word-wrap: break-word;
word-break: break-word;
line-height: 1.4;
}

/* Animation pour les lignes */
.modern-error-table tbody tr {
animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(5px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

/* Couleurs pour les différents types d'erreurs - Surchargement Bootstrap */
.modern-error-table tbody tr.table-danger {
border-left: 3px solid #E74C3C;
background: #1E1E1E !important;
background-color: #1E1E1E !important;
}

.modern-error-table tbody tr.table-warning {
border-left: 3px solid #F39C12;
background: #1E1E1E !important;
background-color: #1E1E1E !important;
}

.modern-error-table tbody tr.table-success {
border-left: 3px solid #27AE60;
background: #1E1E1E !important;
background-color: #1E1E1E !important;
}

/* Surchargement supplémentaire pour Bootstrap */
.table-responsive .modern-error-table tbody tr.table-danger,
.table-responsive .modern-error-table tbody tr.table-warning,
.table-responsive .modern-error-table tbody tr.table-success {
background-color: #1E1E1E !important;
}

/* Surchargement global pour tous les éléments du tableau */
.modern-error-table tbody tr.table-danger td,
.modern-error-table tbody tr.table-warning td,
.modern-error-table tbody tr.table-success td {
background-color: transparent !important;
}

/* Styles pour les cellules spécifiques */
.error-type-cell {
font-weight: 500;
}

.error-type-content {
display: flex;
align-items: center;
gap: 0.3rem;
}

.error-type-content i {
font-size: 0.7rem;
color: #666;
}

.error-type-name {
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
font-size: 0.75rem;
color: #FF6B6B;
background: rgba(255, 107, 107, 0.15);
padding: 0.2rem 0.4rem;
border-radius: 3px;
border-left: 2px solid #FF6B6B;
line-height: 1.2;
}

.exercise-cell {
text-align: center;
}

.badge-exercise {
background: linear-gradient(135deg, #4A90E2, #357ABD);
color: white;
padding: 0.25rem 0.5rem;
border-radius: 12px;
font-size: 0.65rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.3px;
}

.location-cell {
font-size: 0.7rem;
max-width: 200px;
word-wrap: break-word;
word-break: break-word;
}

.location-cell small {
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
color: #888;
background: rgba(136, 136, 136, 0.1);
padding: 0.15rem 0.3rem;
border-radius: 3px;
font-size: 0.65rem;
white-space: normal;
}

.severity-cell {
text-align: center;
}

.severity-badge {
padding: 0.25rem 0.5rem;
border-radius: 12px;
font-size: 0.65rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.3px;
display: inline-flex;
align-items: center;
gap: 0.2rem;
}

.severity-badge.bg-danger {
background: linear-gradient(135deg, #E74C3C, #C0392B) !important;
color: white;
box-shadow: 0 1px 4px rgba(231, 76, 60, 0.3);
}

.severity-badge.bg-warning {
background: linear-gradient(135deg, #F39C12, #E67E22) !important;
color: white;
box-shadow: 0 1px 4px rgba(243, 156, 18, 0.3);
}

.severity-badge.bg-success {
background: linear-gradient(135deg, #27AE60, #229954) !important;
color: white;
box-shadow: 0 1px 4px rgba(39, 174, 96, 0.3);
}

.description-cell {
font-size: 0.75rem;
line-height: 1.3;
max-width: 300px;
}

.description-content {
color: #C0C0C0;
background: rgba(255, 255, 255, 0.05) !important;
padding: 0.3rem 0.4rem;
border-radius: 4px;
border-left: 2px solid #4A90E2;
font-size: 0.75rem;
white-space: normal;
word-wrap: break-word;
word-break: break-word;
line-height: 1.4;
}

/* Animation pour les lignes */
.modern-error-table tbody tr {
animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(5px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

/* Couleurs pour les différents types d'erreurs */
.modern-error-table tbody tr.table-danger {
border-left: 3px solid #E74C3C;
background: #1E1E1E !important;
}

.modern-error-table tbody tr.table-warning {
border-left: 3px solid #F39C12;
background: #1E1E1E !important;
}

.modern-error-table tbody tr.table-success {
border-left: 3px solid #27AE60;
background: #1E1E1E !important;
}


/* Styles pour le résumé des erreurs modernisé */
.errors-summary {
background: linear-gradient(135deg, #1A1A1A, #2D2D2D);
border-bottom: 1px solid #333;
padding: 0.75rem 1rem !important;
}

.summary-item {
display: flex;
align-items: center;
gap: 0.4rem;
font-size: 0.8rem;
}

.summary-dot {
width: 8px;
height: 8px;
border-radius: 50%;
flex-shrink: 0;
}

.summary-label {
color: #B0BEC5;
font-weight: 500;
font-size: 0.75rem;
}

.summary-count {
font-weight: 700;
font-size: 0.85rem;
color: #E0E0E0;
background: rgba(255, 255, 255, 0.1);
padding: 0.1rem 0.4rem;
border-radius: 8px;
min-width: 20px;
text-align: center;
}

.summary-dot.bg-danger {
background: #E74C3C !important;
box-shadow: 0 0 6px rgba(231, 76, 60, 0.4);
}

.summary-dot.bg-warning {
background: #F39C12 !important;
box-shadow: 0 0 6px rgba(243, 156, 18, 0.4);
}

.summary-dot.bg-success {
background: #27AE60 !important;
box-shadow: 0 0 6px rgba(39, 174, 96, 0.4);
}
