->Refonte visuelle + Prise en charge du mode sombre par l'ensemble des composants.
1843 lines
39 KiB
CSS
1843 lines
39 KiB
CSS
/* ═══════════════════════════════════════════════════════════════════════════
|
|
PERTURBATIONS - STYLES MODERNES & DESIGN SYSTEM
|
|
═══════════════════════════════════════════════════════════════════════════ */
|
|
|
|
.perturbations-page-root {
|
|
min-height: 100vh;
|
|
background-color: #f4f7fb;
|
|
}
|
|
|
|
.perturbations-modern-container {
|
|
width: min(1420px, 100%);
|
|
margin: 0 auto;
|
|
padding: 24px 28px 60px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════════════
|
|
1. HERO BANNER
|
|
═══════════════════════════════════════════════════════════════════════════ */
|
|
|
|
.perturbations-hero-banner {
|
|
background: linear-gradient(135deg, #240b36 0%, #4a154b 50%, #c31432 100%);
|
|
border-radius: 20px;
|
|
color: #f8fbff;
|
|
padding: 32px 36px;
|
|
margin-bottom: 24px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 24px;
|
|
box-shadow: 0 16px 36px -10px rgba(74, 21, 75, 0.35);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.perturbations-hero-banner::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: -40px;
|
|
right: -40px;
|
|
width: 260px;
|
|
height: 260px;
|
|
background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
|
|
border-radius: 50%;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.perturbations-hero-content {
|
|
max-width: 820px;
|
|
z-index: 1;
|
|
}
|
|
|
|
.perturbations-hero-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.perturbations-kicker-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
background: rgba(255, 255, 255, 0.15);
|
|
backdrop-filter: blur(8px);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
color: #fdf2f8;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
padding: 5px 12px;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.perturbations-region-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border: 1px solid rgba(255, 255, 255, 0.18);
|
|
color: #fdf2f8;
|
|
font-size: 12px;
|
|
padding: 4px 12px;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.perturbations-hero-title {
|
|
margin: 0;
|
|
font-size: 32px;
|
|
font-weight: 800;
|
|
color: #ffffff;
|
|
letter-spacing: -0.02em;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.perturbations-hero-subtitle {
|
|
margin: 10px 0 0;
|
|
font-size: 14px;
|
|
line-height: 1.55;
|
|
color: rgba(253, 242, 248, 0.9);
|
|
}
|
|
|
|
.perturbations-hero-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
z-index: 1;
|
|
}
|
|
|
|
.perturbations-btn-primary {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
|
|
color: #ffffff;
|
|
border: 1px solid rgba(255, 255, 255, 0.25);
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
padding: 12px 22px;
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
box-shadow: 0 6px 18px rgba(225, 29, 72, 0.35);
|
|
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.perturbations-btn-primary:hover:not(:disabled) {
|
|
background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 10px 22px rgba(225, 29, 72, 0.45);
|
|
}
|
|
|
|
.perturbations-btn-primary:active:not(:disabled) {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.perturbations-btn-primary:disabled {
|
|
opacity: 0.55;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.perturbations-btn-outline {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
background: #ffffff;
|
|
color: #334155;
|
|
border: 1px solid #cbd5e1;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
padding: 10px 18px;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.perturbations-btn-outline:hover {
|
|
background: #f8fafc;
|
|
border-color: #94a3b8;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.perturbations-btn-danger {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
background: #fee2e2;
|
|
color: #b91c1c;
|
|
border: 1px solid #fca5a5;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
padding: 10px 18px;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.perturbations-btn-danger:hover:not(:disabled) {
|
|
background: #ef4444;
|
|
color: #ffffff;
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════════════
|
|
2. KPI CARDS
|
|
═══════════════════════════════════════════════════════════════════════════ */
|
|
|
|
.perturbations-kpi-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 16px;
|
|
margin-bottom: 22px;
|
|
}
|
|
|
|
.perturbations-kpi-card {
|
|
background: #ffffff;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 16px;
|
|
padding: 18px 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
cursor: pointer;
|
|
transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
|
|
box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
|
|
position: relative;
|
|
outline: none;
|
|
}
|
|
|
|
.perturbations-kpi-card:hover {
|
|
transform: translateY(-2px);
|
|
border-color: #cbd5e1;
|
|
box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
|
|
}
|
|
|
|
.perturbations-kpi-card.active {
|
|
border-color: #e11d48;
|
|
background: #fff5f7;
|
|
box-shadow: 0 8px 24px rgba(225, 29, 72, 0.12);
|
|
}
|
|
|
|
.perturbations-kpi-card.active::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0;
|
|
top: 14px;
|
|
bottom: 14px;
|
|
width: 4px;
|
|
background: #e11d48;
|
|
border-radius: 0 4px 4px 0;
|
|
}
|
|
|
|
.kpi-icon-wrapper.kpi-retard {
|
|
background: #fef3c7;
|
|
color: #b45309;
|
|
}
|
|
|
|
.kpi-icon-wrapper.kpi-suppr {
|
|
background: #fee2e2;
|
|
color: #b91c1c;
|
|
}
|
|
|
|
.kpi-icon-wrapper.kpi-modif {
|
|
background: #e0f2fe;
|
|
color: #0369a1;
|
|
}
|
|
|
|
.live-pulse-red {
|
|
position: absolute;
|
|
top: -2px;
|
|
right: -2px;
|
|
width: 10px;
|
|
height: 10px;
|
|
background-color: #ef4444;
|
|
border-radius: 50%;
|
|
animation: pulse-ring-red 1.8s infinite;
|
|
}
|
|
|
|
@keyframes pulse-ring-red {
|
|
0% {
|
|
transform: scale(0.95);
|
|
box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
|
|
}
|
|
70% {
|
|
transform: scale(1);
|
|
box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
|
|
}
|
|
100% {
|
|
transform: scale(0.95);
|
|
box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
|
|
}
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════════════
|
|
3. CONTROLS & FILTERS
|
|
═══════════════════════════════════════════════════════════════════════════ */
|
|
|
|
.perturbations-controls-card {
|
|
background: #ffffff;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 16px;
|
|
padding: 16px 20px;
|
|
margin-bottom: 20px;
|
|
box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
}
|
|
|
|
.perturbations-search-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
background: #f8fafc;
|
|
border: 1px solid #cbd5e1;
|
|
border-radius: 12px;
|
|
padding: 0 16px;
|
|
height: 46px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.perturbations-search-bar:focus-within {
|
|
background: #ffffff;
|
|
border-color: #e11d48;
|
|
box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.15);
|
|
}
|
|
|
|
.perturbations-modern-input {
|
|
width: 100%;
|
|
border: none;
|
|
background: transparent;
|
|
font-size: 14px;
|
|
color: #1e293b;
|
|
outline: none;
|
|
}
|
|
|
|
.perturbations-filters-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 14px;
|
|
}
|
|
|
|
.perturbations-tab-group {
|
|
display: flex;
|
|
align-items: center;
|
|
background: #f1f5f9;
|
|
padding: 4px;
|
|
border-radius: 10px;
|
|
gap: 4px;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.perturbations-tab-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
background: transparent;
|
|
border: none;
|
|
color: #64748b;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
padding: 7px 14px;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
transition: all 0.18s ease;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.perturbations-tab-btn:hover {
|
|
color: #1e293b;
|
|
background: rgba(255, 255, 255, 0.6);
|
|
}
|
|
|
|
.perturbations-tab-btn.active {
|
|
background: #ffffff;
|
|
color: #0f172a;
|
|
box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
|
|
}
|
|
|
|
.range-picker-inline {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.range-label {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: #64748b;
|
|
}
|
|
|
|
.days-number-input {
|
|
width: 60px;
|
|
padding: 6px 10px;
|
|
border: 1px solid #cbd5e1;
|
|
border-radius: 8px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
text-align: center;
|
|
}
|
|
|
|
.date-input-sm {
|
|
padding: 6px 10px;
|
|
border: 1px solid #cbd5e1;
|
|
border-radius: 8px;
|
|
font-size: 13px;
|
|
color: #1e293b;
|
|
}
|
|
|
|
.range-arrow {
|
|
color: #94a3b8;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.perturbations-results-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 16px;
|
|
padding: 0 4px;
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════════════
|
|
4. GROUPED TRAIN CARDS
|
|
═══════════════════════════════════════════════════════════════════════════ */
|
|
|
|
.perturbations-cards-stack {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 18px;
|
|
}
|
|
|
|
.train-group-card {
|
|
background: #ffffff;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.train-group-card:hover {
|
|
border-color: #cbd5e1;
|
|
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
|
|
}
|
|
|
|
.train-group-header {
|
|
padding: 16px 22px;
|
|
background: #f8fafc;
|
|
border-bottom: 1px solid #e2e8f0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.train-id-badge {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.train-type-pill {
|
|
background: #0f172a;
|
|
color: #ffffff;
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
padding: 4px 8px;
|
|
border-radius: 6px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.train-num {
|
|
font-size: 18px;
|
|
font-weight: 800;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.train-route-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
flex: 1;
|
|
}
|
|
|
|
.station-step {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.station-step .time-badge {
|
|
font-family: 'Roboto Mono', monospace;
|
|
font-weight: 700;
|
|
font-size: 14px;
|
|
background: #ffffff;
|
|
padding: 3px 8px;
|
|
border-radius: 6px;
|
|
border: 1px solid #cbd5e1;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.station-step .station-label {
|
|
font-weight: 600;
|
|
color: #334155;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.route-arrow-icon {
|
|
color: #94a3b8;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.train-meta-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.ligne-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
background: #f1f5f9;
|
|
color: #475569;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
padding: 4px 10px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.incidents-count-pill {
|
|
background: #fee2e2;
|
|
color: #b91c1c;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
padding: 4px 10px;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
/* Incidents Sublist */
|
|
.incidents-sublist {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.incident-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 16px 22px;
|
|
border-left: 6px solid #cbd5e1;
|
|
border-bottom: 1px solid #f1f5f9;
|
|
gap: 16px;
|
|
transition: background 0.15s ease;
|
|
}
|
|
|
|
.incident-row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.incident-row:hover {
|
|
background: #fafbfc;
|
|
}
|
|
|
|
.incident-border-warning { border-left-color: #f59e0b; }
|
|
.incident-border-danger { border-left-color: #ef4444; }
|
|
.incident-border-info { border-left-color: #0284c7; }
|
|
.incident-border-secondary { border-left-color: #64748b; }
|
|
|
|
.incident-main-col {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
flex: 1;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.incident-type-tag {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-width: 170px;
|
|
}
|
|
|
|
.type-title {
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.retard-chip {
|
|
background: #fffbeb;
|
|
color: #b45309;
|
|
border: 1px solid #fde68a;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
padding: 2px 8px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.incident-cause-box {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex: 1;
|
|
min-width: 220px;
|
|
}
|
|
|
|
.cause-badge {
|
|
background: #f1f5f9;
|
|
color: #334155;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
padding: 3px 8px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.cause-details-text {
|
|
font-size: 13px;
|
|
color: #64748b;
|
|
}
|
|
|
|
.incident-dates-tag {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 12px;
|
|
color: #64748b;
|
|
background: #f8fafc;
|
|
padding: 4px 10px;
|
|
border-radius: 6px;
|
|
border: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.inactive-badge-tag {
|
|
font-size: 11px;
|
|
background: #f1f5f9;
|
|
color: #94a3b8;
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.incident-actions-col {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.btn-incident-action {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px 12px;
|
|
border-radius: 8px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
border: 1px solid transparent;
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════════════
|
|
5. TABLE VIEW
|
|
═══════════════════════════════════════════════════════════════════════════ */
|
|
|
|
.perturbations-table-wrapper {
|
|
background: #ffffff;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
|
|
}
|
|
|
|
.perturbations-modern-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
text-align: left;
|
|
}
|
|
|
|
.perturbations-modern-table thead {
|
|
background: #f8fafc;
|
|
border-bottom: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.perturbations-modern-table th {
|
|
padding: 14px 16px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
color: #64748b;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.perturbations-modern-table td {
|
|
padding: 14px 16px;
|
|
border-bottom: 1px solid #f1f5f9;
|
|
font-size: 13px;
|
|
color: #334155;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.perturbations-modern-table tbody tr:hover {
|
|
background-color: #f8fafc;
|
|
}
|
|
|
|
.table-type-cell {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.table-train-cell {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.table-route-cell {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.route-arrow-sm {
|
|
color: #94a3b8;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.table-cause-cell {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.table-cause-sub {
|
|
font-size: 11px;
|
|
color: #64748b;
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════════════
|
|
6. DETAILS MODAL & STATES
|
|
═══════════════════════════════════════════════════════════════════════════ */
|
|
|
|
.perturbations-modal-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(15, 23, 42, 0.6);
|
|
backdrop-filter: blur(4px);
|
|
z-index: 9999;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20px;
|
|
animation: modalFadeIn 0.2s ease-out;
|
|
}
|
|
|
|
.perturbations-detail-modal {
|
|
background: #ffffff;
|
|
border-radius: 20px;
|
|
width: min(800px, 100%);
|
|
max-height: 90vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.35);
|
|
overflow: hidden;
|
|
animation: modalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.modal-cause-detail-box {
|
|
background: #f8fafc;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 12px;
|
|
padding: 18px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.modal-notes-box {
|
|
margin-top: 10px;
|
|
padding-top: 10px;
|
|
border-top: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.notes-label {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
color: #64748b;
|
|
display: block;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.train-id-pill {
|
|
background: #e2e8f0;
|
|
color: #0f172a;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
padding: 4px 8px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.badge-warning { background: #fef3c7; color: #b45309; }
|
|
.badge-danger { background: #fee2e2; color: #b91c1c; }
|
|
.badge-info { background: #e0f2fe; color: #0369a1; }
|
|
.badge-secondary { background: #f1f5f9; color: #475569; }
|
|
|
|
.perturbations-loading-box, .perturbations-empty-box, .perturbations-error-box {
|
|
background: #ffffff;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 20px;
|
|
padding: 60px 24px;
|
|
text-align: center;
|
|
box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
|
|
}
|
|
|
|
.empty-icon-green {
|
|
width: 72px;
|
|
height: 72px;
|
|
background: #dcfce7;
|
|
color: #16a34a;
|
|
border-radius: 50%;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 36px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.perturbations-empty-box h3, .perturbations-loading-box h3, .perturbations-error-box h3 {
|
|
margin: 0 0 8px;
|
|
color: #0f172a;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.perturbations-empty-box p, .perturbations-loading-box p, .perturbations-error-box p {
|
|
margin: 0 auto 24px;
|
|
max-width: 480px;
|
|
color: #64748b;
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════════════
|
|
7. FORMULAIRES CREER & MODIFIER PERTURBATIONS
|
|
═══════════════════════════════════════════════════════════════════════════ */
|
|
|
|
.page-header-modern {
|
|
background: #ffffff;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 20px;
|
|
padding: 24px 28px;
|
|
margin-bottom: 24px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
|
|
}
|
|
|
|
.header-info h1 {
|
|
margin: 0;
|
|
font-size: 22px;
|
|
font-weight: 800;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.header-info p {
|
|
margin: 4px 0 0;
|
|
color: #64748b;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.stepper-horizontal {
|
|
display: flex;
|
|
align-items: center;
|
|
background: #ffffff;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 16px;
|
|
padding: 12px 18px;
|
|
margin-bottom: 24px;
|
|
gap: 8px;
|
|
overflow-x: auto;
|
|
box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
|
|
}
|
|
|
|
.step-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 8px 14px;
|
|
border-radius: 10px;
|
|
color: #64748b;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
transition: all 0.2s ease;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.step-item.active {
|
|
background: #fff1f2;
|
|
color: #e11d48;
|
|
}
|
|
|
|
.step-item.completed {
|
|
color: #16a34a;
|
|
}
|
|
|
|
.step-item .step-icon {
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 50%;
|
|
background: #f1f5f9;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.step-item.active .step-icon {
|
|
background: #e11d48;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.step-item.completed .step-icon {
|
|
background: #dcfce7;
|
|
color: #16a34a;
|
|
}
|
|
|
|
.step-divider {
|
|
width: 24px;
|
|
height: 2px;
|
|
background: #e2e8f0;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.creation-layout-modern {
|
|
display: grid;
|
|
grid-template-columns: 1fr 340px;
|
|
gap: 24px;
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.creation-layout-modern {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.creation-main-content {
|
|
background: #ffffff;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 16px;
|
|
padding: 24px;
|
|
box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
|
|
}
|
|
|
|
.sticky-sidebar {
|
|
position: sticky;
|
|
top: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.summary-card {
|
|
background: #ffffff;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 16px;
|
|
padding: 20px;
|
|
box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
|
|
}
|
|
|
|
.summary-card h3 {
|
|
margin: 0 0 14px;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.summary-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 8px 0;
|
|
border-bottom: 1px dashed #e2e8f0;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.summary-row .label {
|
|
color: #64748b;
|
|
}
|
|
|
|
.summary-row .value {
|
|
font-weight: 600;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.input-control, .form-select, .form-textarea {
|
|
width: 100%;
|
|
padding: 10px 14px;
|
|
border: 1px solid #cbd5e1;
|
|
border-radius: 10px;
|
|
font-size: 14px;
|
|
color: #1e293b;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.input-control:focus, .form-select:focus, .form-textarea:focus {
|
|
outline: none;
|
|
border-color: #e11d48;
|
|
box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.15);
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════════════
|
|
8. PARCOURS TIMELINE & APERÇU LATÉRAL
|
|
═══════════════════════════════════════════════════════════════════════════ */
|
|
|
|
.parcours-preview {
|
|
background: #ffffff;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 16px;
|
|
padding: 20px 22px;
|
|
box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
|
|
}
|
|
|
|
.parcours-preview h3 {
|
|
margin: 0 0 16px;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: #0f172a;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.parcours-line {
|
|
position: relative;
|
|
padding: 6px 0;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.parcours-line::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 10px;
|
|
bottom: 14px;
|
|
left: 7px;
|
|
width: 3px;
|
|
background: #e2e8f0;
|
|
border-radius: 2px;
|
|
z-index: 1;
|
|
}
|
|
|
|
.parcours-stop {
|
|
position: relative;
|
|
padding-left: 28px;
|
|
padding-bottom: 18px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.parcours-stop:last-child {
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.parcours-stop::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 1px;
|
|
top: 3px;
|
|
width: 15px;
|
|
height: 15px;
|
|
border-radius: 50%;
|
|
background: #ffffff;
|
|
border: 3px solid #0088ce;
|
|
box-shadow: 0 0 0 2px #ffffff;
|
|
z-index: 2;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.parcours-stop.modifiee::before {
|
|
border-color: #f59e0b;
|
|
background: #fffbeb;
|
|
}
|
|
|
|
.parcours-stop.supprimee::before {
|
|
border-color: #ef4444;
|
|
background: #fee2e2;
|
|
}
|
|
|
|
.parcours-stop-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.parcours-stop-name {
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
color: #1e293b;
|
|
}
|
|
|
|
.parcours-stop.supprimee .parcours-stop-name {
|
|
text-decoration: line-through;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.parcours-stop-times {
|
|
font-size: 11px;
|
|
color: #64748b;
|
|
font-family: 'Roboto Mono', monospace, sans-serif;
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.parcours-stop-badge {
|
|
font-size: 11px !important;
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════════════
|
|
9. ACCORDÉONS D'ARRÊTS & GESTION PARCOURS
|
|
═══════════════════════════════════════════════════════════════════════════ */
|
|
|
|
.parcours-accordion {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.arret-accordion-card {
|
|
background: #ffffff;
|
|
border: 1px solid #e2e8f0;
|
|
border-left: 4px solid #cbd5e1;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
transition: all 0.2s ease;
|
|
box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
|
|
}
|
|
|
|
.arret-accordion-card.has-perturbation {
|
|
box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
|
|
}
|
|
|
|
.arret-accordion-card.supprime {
|
|
background: #fef5f5;
|
|
}
|
|
|
|
.arret-accordion-header {
|
|
padding: 14px 18px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
background: #ffffff;
|
|
transition: background 0.15s ease;
|
|
}
|
|
|
|
.arret-accordion-header:hover {
|
|
background: #f8fafc;
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════════════
|
|
10. RECHERCHE D'HORAIRES & RÉSULTATS
|
|
═══════════════════════════════════════════════════════════════════════════ */
|
|
|
|
.step-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.step-header h2 {
|
|
margin: 0;
|
|
font-size: 18px;
|
|
font-weight: 800;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.step-header p {
|
|
margin: 4px 0 0;
|
|
font-size: 13px;
|
|
color: #64748b;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: #334155;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.form-group.required label::after {
|
|
content: ' *';
|
|
color: #ef4444;
|
|
}
|
|
|
|
.checkbox-label {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #334155;
|
|
}
|
|
|
|
.form-section {
|
|
margin-bottom: 24px;
|
|
padding-bottom: 24px;
|
|
border-bottom: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.form-section:last-of-type {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.form-section h3 {
|
|
margin: 0 0 6px;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.section-hint {
|
|
font-size: 13px;
|
|
color: #64748b;
|
|
margin: 0 0 16px;
|
|
}
|
|
|
|
.search-form {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.search-input {
|
|
flex: 1;
|
|
padding: 10px 14px;
|
|
border: 1px solid #cbd5e1;
|
|
border-radius: 10px;
|
|
font-size: 14px;
|
|
color: #1e293b;
|
|
outline: none;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.search-input:focus {
|
|
border-color: #e11d48;
|
|
box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.15);
|
|
}
|
|
|
|
.results-count {
|
|
font-size: 12px;
|
|
color: #64748b;
|
|
font-weight: 600;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.horaire-results {
|
|
max-height: 380px;
|
|
overflow-y: auto;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 12px;
|
|
margin-top: 14px;
|
|
background: #ffffff;
|
|
box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
|
|
}
|
|
|
|
.horaire-result-item {
|
|
padding: 14px 18px;
|
|
display: flex;
|
|
align-items: center;
|
|
border-bottom: 1px solid #f1f5f9;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.horaire-result-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.horaire-result-item:hover {
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.horaire-result-item.selected {
|
|
background: #fff1f2;
|
|
border-left: 4px solid #e11d48;
|
|
}
|
|
|
|
.horaire-result-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 4px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.horaire-result-header strong {
|
|
color: #0f172a;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.horaire-result-route {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 13px;
|
|
color: #475569;
|
|
}
|
|
|
|
.time-chip {
|
|
background: #f1f5f9;
|
|
border: 1px solid #e2e8f0;
|
|
padding: 2px 7px;
|
|
border-radius: 6px;
|
|
font-family: 'Roboto Mono', monospace;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.no-results {
|
|
padding: 32px;
|
|
text-align: center;
|
|
color: #94a3b8;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.horaire-display {
|
|
background: #f8fafc;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 12px;
|
|
padding: 16px;
|
|
}
|
|
|
|
.horaire-display-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.horaire-display-header h4 {
|
|
margin: 0;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.step-actions {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-top: 32px;
|
|
padding-top: 20px;
|
|
border-top: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.step-actions-right {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: center;
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════════════
|
|
11. ÉDITEUR DE JOURS DE PERTURBATION
|
|
═══════════════════════════════════════════════════════════════════════════ */
|
|
|
|
.jours-perturbation-editor {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.jour-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
background: #f8fafc;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 12px;
|
|
padding: 12px 16px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.jour-type-selector {
|
|
display: flex;
|
|
gap: 4px;
|
|
background: #e2e8f0;
|
|
padding: 3px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.jour-type-option {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
padding: 6px 12px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
color: #64748b;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.jour-type-option.active {
|
|
background: #ffffff;
|
|
color: #0f172a;
|
|
box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
|
|
}
|
|
|
|
.jour-type-option input {
|
|
display: none;
|
|
}
|
|
|
|
.jour-field {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.jour-field label {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: #64748b;
|
|
}
|
|
|
|
.periode-fields {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.date-input {
|
|
padding: 6px 10px;
|
|
border: 1px solid #cbd5e1;
|
|
border-radius: 8px;
|
|
font-size: 13px;
|
|
color: #1e293b;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.date-input:focus {
|
|
border-color: #e11d48;
|
|
outline: none;
|
|
}
|
|
|
|
.jour-remove-btn {
|
|
background: #fee2e2;
|
|
color: #b91c1c;
|
|
border: none;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.jour-remove-btn:hover {
|
|
background: #ef4444;
|
|
color: #ffffff;
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════════════
|
|
12. MODAL DÉTAILS
|
|
═══════════════════════════════════════════════════════════════════════════ */
|
|
|
|
.modal-top-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 20px 24px;
|
|
border-bottom: 1px solid #e2e8f0;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.modal-header-info h2 {
|
|
margin: 4px 0 0;
|
|
font-size: 18px;
|
|
font-weight: 800;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.modal-badges-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.modal-close-btn {
|
|
background: transparent;
|
|
border: none;
|
|
font-size: 18px;
|
|
color: #64748b;
|
|
cursor: pointer;
|
|
padding: 6px;
|
|
border-radius: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.modal-close-btn:hover {
|
|
background: #e2e8f0;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.modal-body-content {
|
|
padding: 24px;
|
|
overflow-y: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.modal-summary-cards {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 14px;
|
|
}
|
|
|
|
.modal-card-stat {
|
|
background: #f8fafc;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 12px;
|
|
padding: 14px 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.stat-label {
|
|
display: block;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
color: #64748b;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.modal-section-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin: 0 0 10px;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.modal-footer-bar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 16px 24px;
|
|
border-top: 1px solid #e2e8f0;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 1024px) {
|
|
.perturbations-modern-container {
|
|
padding: 20px 18px 48px;
|
|
}
|
|
.perturbations-kpi-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
.perturbations-hero-banner {
|
|
padding: 26px 28px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.perturbations-modern-container {
|
|
padding: 16px 12px 40px;
|
|
}
|
|
.perturbations-hero-banner {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
padding: 20px 18px;
|
|
gap: 16px;
|
|
}
|
|
.perturbations-hero-actions {
|
|
width: 100%;
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
.perturbations-btn-primary {
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
.perturbations-kpi-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 12px;
|
|
}
|
|
.perturbations-controls-card {
|
|
padding: 14px;
|
|
}
|
|
.perturbations-filters-row {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 10px;
|
|
}
|
|
.perturbations-filter-group {
|
|
width: 100%;
|
|
}
|
|
.train-group-header {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
}
|
|
.incident-row {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
}
|
|
.incident-actions-col {
|
|
width: 100%;
|
|
justify-content: flex-end;
|
|
}
|
|
.modal-summary-cards {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.form-columns-2 {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.form-sticky-bottom-bar {
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
align-items: stretch;
|
|
padding: 14px 16px;
|
|
}
|
|
.bottom-bar-btns {
|
|
width: 100%;
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
.bottom-bar-btns > * {
|
|
flex: 1;
|
|
justify-content: center;
|
|
}
|
|
.perturbations-stepper-header {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 8px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.perturbations-hero-title {
|
|
font-size: 24px;
|
|
}
|
|
.perturbations-hero-subtitle {
|
|
font-size: 13px;
|
|
}
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════════════
|
|
10. DARK MODE SUPPORT
|
|
═══════════════════════════════════════════════════════════════════════════ */
|
|
|
|
body.dark-mode .perturbations-page-root,
|
|
[data-theme="dark"] .perturbations-page-root {
|
|
background-color: #0b111e;
|
|
color: #f1f5f9;
|
|
}
|
|
|
|
body.dark-mode .perturbations-hero-banner,
|
|
[data-theme="dark"] .perturbations-hero-banner {
|
|
background: linear-gradient(135deg, #180620 0%, #300c31 50%, #880d22 100%);
|
|
border-color: rgba(255, 255, 255, 0.1);
|
|
box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6);
|
|
}
|
|
|
|
body.dark-mode .perturbations-kpi-card,
|
|
[data-theme="dark"] .perturbations-kpi-card {
|
|
background: #151f30;
|
|
border-color: #243247;
|
|
color: #f1f5f9;
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
body.dark-mode .perturbations-kpi-card:hover,
|
|
[data-theme="dark"] .perturbations-kpi-card:hover {
|
|
border-color: #f43f5e;
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
|
|
}
|
|
|
|
body.dark-mode .perturbations-kpi-card.active,
|
|
[data-theme="dark"] .perturbations-kpi-card.active {
|
|
background: #2a0e19;
|
|
border-color: #e11d48;
|
|
box-shadow: 0 8px 24px rgba(225, 29, 72, 0.25);
|
|
}
|
|
|
|
body.dark-mode .perturbations-kpi-card .kpi-label,
|
|
[data-theme="dark"] .perturbations-kpi-card .kpi-label {
|
|
color: #94a3b8;
|
|
}
|
|
|
|
body.dark-mode .perturbations-kpi-card .kpi-value,
|
|
[data-theme="dark"] .perturbations-kpi-card .kpi-value {
|
|
color: #f8fafc;
|
|
}
|
|
|
|
body.dark-mode .perturbations-kpi-card .kpi-subtext,
|
|
[data-theme="dark"] .perturbations-kpi-card .kpi-subtext {
|
|
color: #64748b;
|
|
}
|
|
|
|
body.dark-mode .kpi-icon-wrapper.kpi-retard,
|
|
[data-theme="dark"] .kpi-icon-wrapper.kpi-retard {
|
|
background: rgba(217, 119, 6, 0.2);
|
|
color: #fbbf24;
|
|
}
|
|
|
|
body.dark-mode .kpi-icon-wrapper.kpi-suppr,
|
|
[data-theme="dark"] .kpi-icon-wrapper.kpi-suppr {
|
|
background: rgba(225, 29, 72, 0.2);
|
|
color: #fb7185;
|
|
}
|
|
|
|
body.dark-mode .kpi-icon-wrapper.kpi-modif,
|
|
[data-theme="dark"] .kpi-icon-wrapper.kpi-modif {
|
|
background: rgba(2, 132, 199, 0.2);
|
|
color: #38bdf8;
|
|
}
|
|
|
|
body.dark-mode .perturbations-controls-card,
|
|
body.dark-mode .train-group-card,
|
|
body.dark-mode .perturbation-detail-card,
|
|
body.dark-mode .modal-content,
|
|
[data-theme="dark"] .perturbations-controls-card,
|
|
[data-theme="dark"] .train-group-card,
|
|
[data-theme="dark"] .perturbation-detail-card,
|
|
[data-theme="dark"] .modal-content {
|
|
background: #151f30;
|
|
border-color: #243247;
|
|
color: #f1f5f9;
|
|
box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
body.dark-mode .train-group-header,
|
|
[data-theme="dark"] .train-group-header {
|
|
background: #111a28;
|
|
border-bottom-color: #243247;
|
|
}
|
|
|
|
body.dark-mode .incident-row,
|
|
[data-theme="dark"] .incident-row {
|
|
border-bottom-color: #1e293b;
|
|
}
|
|
|
|
body.dark-mode .incident-row:hover,
|
|
[data-theme="dark"] .incident-row:hover {
|
|
background-color: #1a273c;
|
|
}
|
|
|
|
body.dark-mode .parcours-step-card,
|
|
[data-theme="dark"] .parcours-step-card {
|
|
background: #101826;
|
|
border-color: #243247;
|
|
color: #f1f5f9;
|
|
}
|
|
|
|
body.dark-mode .parcours-step-card.retard,
|
|
[data-theme="dark"] .parcours-step-card.retard {
|
|
background: #251206;
|
|
border-color: #92400e;
|
|
}
|
|
|
|
body.dark-mode .parcours-step-card.on-time,
|
|
[data-theme="dark"] .parcours-step-card.on-time {
|
|
background: #082136;
|
|
border-color: #0284c7;
|
|
}
|
|
|
|
body.dark-mode .parcours-step-card.supprime,
|
|
[data-theme="dark"] .parcours-step-card.supprime {
|
|
background: #28080f;
|
|
border-color: #9f1239;
|
|
}
|
|
|
|
body.dark-mode .perturbations-input,
|
|
body.dark-mode .perturbations-select,
|
|
body.dark-mode .perturbations-textarea,
|
|
body.dark-mode .perturbations-search-bar input,
|
|
[data-theme="dark"] .perturbations-input,
|
|
[data-theme="dark"] .perturbations-select,
|
|
[data-theme="dark"] .perturbations-textarea,
|
|
[data-theme="dark"] .perturbations-search-bar input {
|
|
background-color: #0b111e;
|
|
border-color: #243247;
|
|
color: #f8fafc;
|
|
}
|
|
|
|
body.dark-mode .perturbations-input:focus,
|
|
body.dark-mode .perturbations-select:focus,
|
|
body.dark-mode .perturbations-textarea:focus,
|
|
[data-theme="dark"] .perturbations-input:focus,
|
|
[data-theme="dark"] .perturbations-select:focus,
|
|
[data-theme="dark"] .perturbations-textarea:focus {
|
|
border-color: #e11d48;
|
|
box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.25);
|
|
}
|
|
|
|
body.dark-mode .perturbations-btn-outline,
|
|
[data-theme="dark"] .perturbations-btn-outline {
|
|
background: #151f30;
|
|
border-color: #334155;
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
body.dark-mode .perturbations-btn-outline:hover,
|
|
[data-theme="dark"] .perturbations-btn-outline:hover {
|
|
background: #1e293b;
|
|
border-color: #64748b;
|
|
color: #ffffff;
|
|
}
|
|
|
|
body.dark-mode .perturbations-empty-state,
|
|
[data-theme="dark"] .perturbations-empty-state {
|
|
background: #151f30;
|
|
border-color: #243247;
|
|
}
|
|
|
|
body.dark-mode .perturbations-empty-text,
|
|
[data-theme="dark"] .perturbations-empty-text {
|
|
color: #94a3b8;
|
|
}
|
|
|
|
body.dark-mode .modal-header,
|
|
[data-theme="dark"] .modal-header {
|
|
background: #0e1726;
|
|
border-bottom-color: #243247;
|
|
}
|
|
|
|
body.dark-mode .modal-footer-bar,
|
|
[data-theme="dark"] .modal-footer-bar {
|
|
background: #0e1726;
|
|
border-top-color: #243247;
|
|
}
|
|
|