/**
 * Styles publics pour le widget de programme de vols Camair-Co.
 * Design premium aux couleurs de Camair-Co (vert émeraude, jaune et blanc/gris).
 */

.rm-flight-widget-root {
    width: 100%;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #333333;
}

.rm-flight-widget-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 2px solid #f4faf7;
    padding-bottom: 16px;
}

.rm-widget-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #006643; /* Vert Camair-Co */
}

.rm-widget-program-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e6f3ed;
    color: #006643;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    align-self: flex-start;
}

.rm-widget-program-badge-inactive {
    background: #fdf2f2;
    color: #b32d2e;
}

.rm-widget-program-badge .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    line-height: 14px;
}

.rm-flight-widget-form {
    margin-bottom: 24px;
}

.rm-widget-fields-row {
    display: flex;
    flex-flow: row wrap;
    gap: 16px;
    align-items: flex-end;
    width: 100%;
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .rm-widget-fields-row {
        flex-wrap: nowrap;
    }
}

.rm-widget-field-group {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 150px;
}

.rm-widget-search-btn-wrap {
    flex: 0 0 auto;
    min-width: 130px;
}

.rm-widget-field-group label {
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rm-select-wrapper {
    position: relative;
}

.rm-select-wrapper select {
    width: 100%;
    padding: 10px 32px 10px 12px;
    font-size: 14px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    background-color: #fafafa;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    color: #333333;
    transition: all 0.2s ease;
}

.rm-select-wrapper select:focus {
    outline: none;
    border-color: #006643;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 102, 67, 0.1);
}

.rm-select-wrapper select:disabled {
    background-color: #eef2f5;
    color: #999999;
    cursor: not-allowed;
}

.rm-select-wrapper::after {
    content: "\f140";
    font-family: Dashicons;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 16px;
    color: #666666;
}

.rm-widget-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #006643; /* Vert Camair-Co */
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    box-shadow: 0 4px 10px rgba(0, 102, 67, 0.2);
}

.rm-widget-search-btn:hover:not(:disabled) {
    background: #004d32;
}

.rm-widget-search-btn:active:not(:disabled) {
    transform: scale(0.98);
}

.rm-widget-search-btn:disabled {
    background: #cccccc;
    color: #888888;
    cursor: not-allowed;
    box-shadow: none;
}

.rm-widget-search-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    line-height: 18px;
}

/* Résultats & Placeholders */
.rm-widget-placeholder,
.rm-widget-no-flights {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 16px;
    text-align: center;
    background: #f9fbfd;
    border-radius: 8px;
    border: 1px dashed #e2e8f0;
}

.rm-widget-placeholder .dashicons,
.rm-widget-no-flights .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    color: #94a3b8;
}

.rm-widget-no-flights {
    background: #fffdf5;
    border-color: #ffeeb3;
}

.rm-widget-no-flights .dashicons {
    color: #e5a900; /* Jaune Camair-Co */
}

.rm-widget-placeholder p,
.rm-widget-no-flights p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.rm-widget-field-group input[type="date"] {
    width: 100%;
    padding: 9px 12px;
    font-size: 14px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    background-color: #fafafa;
    color: #333333;
    transition: all 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.rm-widget-field-group input[type="date"]:focus {
    outline: none;
    border-color: #006643;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 102, 67, 0.1);
}

.rm-widget-flights-summary {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #f4faf7;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    color: #006643;
    margin-bottom: 20px;
    border: 1px solid #e1f0e9;
}

.rm-summary-route {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rm-summary-dates {
    font-size: 11px;
    color: #666666;
    font-weight: 500;
}

.rm-summary-arrow {
    color: #ffcc00; /* Jaune Camair-Co */
    font-weight: bold;
    margin: 0 4px;
}

/* Grille de calendrier hebdomadaire */
.rm-timetable-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-top: 15px;
    border: 1px solid #eef2f5;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.rm-timetable {
    width: 100%;
    min-width: 750px; /* S'assure que le tableau a assez de place sur petit écran et scroll */
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.rm-timetable-row {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
    align-items: stretch;
}

.rm-timetable-row:last-child {
    border-bottom: none;
}

.rm-timetable-header {
    background: #f8fafc;
    font-weight: 700;
    color: #334155;
    border-bottom: 2px solid #e2e8f0;
}

.rm-timetable-left-zone {
    width: 30%;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    border-right: 1px solid #f1f5f9;
}

.rm-timetable-header .rm-timetable-left-zone {
    border-right: 1px solid #e2e8f0;
}

.rm-timetable-right-zone {
    width: 70%;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    box-sizing: border-box;
}

.rm-timetable-cell,
.rm-calendar-day-header-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-align: center;
    box-sizing: border-box;
    border-right: 1px solid #f1f5f9;
}

.rm-timetable-right-zone > div:last-child {
    border-right: none;
}

.rm-calendar-day-header-col {
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    padding: 12px 10px;
}

.rm-day-lbl {
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
}

.rm-calendar-day-cell.rm-day-active {
    background-color: #f0faf5;
}

.rm-calendar-day-cell.rm-day-inactive {
    background-color: #fafafa;
}

.rm-airplane-takeoff {
    transform: rotate(-45deg);
    display: inline-block;
    color: #006643; /* Vert Camair-Co */
    font-size: 20px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-shadow: 0 2px 4px rgba(0, 102, 67, 0.2);
    animation: takeoff-subtle 1.5s ease-in-out infinite alternate;
}

@keyframes takeoff-subtle {
    0% { transform: rotate(-45deg) translate(0, 0); }
    100% { transform: rotate(-45deg) translate(2px, -2px); }
}

.rm-no-flight-dash {
    color: #cbd5e1;
    font-weight: 500;
}

.rm-timetable-flight-details-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
}

.rm-timetable-time-line {
    display: flex;
    align-items: center;
    width: 100%;
}

.rm-time-val-bold {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    font-family: monospace;
}

.rm-time-dots-connector {
    flex-grow: 1;
    height: 1px;
    border-bottom: 2px dotted #cbd5e1;
    margin: 0 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rm-time-duration-txt {
    background: #ffffff;
    padding: 0 6px;
    font-size: 16px;
    color: #64748b;
    font-weight: 600;
    position: absolute;
    top: -14px;
    white-space: nowrap;
}

.rm-timetable-route-cities-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: -2px;
}

.rm-city-iata {
    font-size: 16px;
    font-weight: 400;
    color: #334155;
}

.rm-route-status {
    font-size: 11px;
    font-weight: 700;
    color: #006643; /* Vert Camair-Co */
}

.rm-timetable-legs-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
    border-top: 1px dashed #e2e8f0;
    padding-top: 6px;
}

.rm-timetable-leg-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
    color: #64748b;
}

.rm-timetable-aircraft-line strong {
    color: #334155;
    font-weight: 600;
}

.rm-timetable-operator-line {
    font-weight: 500;
    color: #475569;
}

/* Enregistrement d'appareil dans la grille */
.rm-grid-aircraft-reg-code {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #475569;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 1px 4px;
    margin-top: 4px;
    font-family: monospace;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.rm-header-cell {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
}

/* Séparation des blocks */
.rm-flight-search-form-block {
    margin-bottom: 30px;
}

.rm-flight-search-results-block {
    margin-top: 30px;
}

/* Bloc Votre Recherche */
.rm-search-recap-block {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.rm-recap-title {
    font-size: 28px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rm-recap-dates {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-top: 8px;
}

.rm-recap-dates .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 16px;
    color: #006643;
}

.rm-recap-route-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    border-top: 1px solid #e2e8f0;
    padding-top: 16px;
    gap: 15px;
    width: 70%;
}

.rm-recap-departure-node,
.rm-recap-destination-node {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rm-recap-departure-node {
    align-items: flex-start;
    text-align: left;
}

.rm-recap-destination-node {
    align-items: flex-end;
    text-align: right;
}

.rm-recap-city {
    font-size: 30px;
    font-weight: 700;
    color: #0f172a;
}

.rm-recap-airport-name {
    font-size: 16px;
    color: #64748b;
    font-weight: 500;
}

.rm-recap-airport-code {
    font-size: 13px;
    font-weight: 700;
    color: #006643;
    font-family: monospace;
    background: #e6f3ed;
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 2px;
}

.rm-recap-route-connector {
    flex-grow: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rm-recap-connector-line {
    position: absolute;
    width: 100%;
    height: 0;
    border-top: 2px dotted #cbd5e1;
    z-index: 1;
}

.rm-recap-route-connector .dashicons-airplane {
    position: relative;
    z-index: 2;
    background: #f8fafc;
    padding: 0 10px;
    color: #ffcc00;
    font-size: 20px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .rm-recap-route-container {
        width: 100% !important;
    }
}

/* Styles pour la durée et mention Direct sur mobile */
.rm-time-duration-mobile {
    display: none;
}

@media (max-width: 768px) {
    .rm-time-duration-mobile {
        display: block;
        font-size: 11px;
        font-weight: 700;
        color: #64748b;
        margin-top: 4px;
        margin-bottom: 2px;
        text-align: center;
        width: 100%;
    }
    
    .rm-time-duration-txt {
        display: none !important;
    }
    
    .rm-time-dots-connector {
        border-bottom: none !important;
    }
    
    .rm-time-dots-connector::before {
        content: "→";
        color: #94a3b8;
        font-weight: 700;
        font-size: 14px;
    }
    
    .rm-route-direct {
        display: none !important;
    }
}

/* ==========================================================================
   WIDGET STATUT DE VOLS (FLIGHT STATUS)
   ========================================================================== */

.rm-flight-status-widget-root {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1e293b;
    margin-bottom: 40px;
}

.rm-flight-status-search-form-block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.rm-flight-status-widget-header {
    margin-bottom: 20px;
}

.rm-flight-status-widget-header .rm-widget-title {
    font-size: 24px;
    font-weight: 700;
    color: #006643; /* Vert Camair-Co */
    margin: 0 0 6px 0;
}

.rm-flight-status-widget-header .rm-widget-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.rm-status-fields-row {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.rm-status-field-col {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rm-status-field-col label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.rm-status-field-col input[type="date"],
.rm-status-field-col input[type="text"] {
    width: 100%;
    height: 45px;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    color: #1e293b;
    background: #ffffff;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
    transition: border-color 0.15s ease-in-out;
}

.rm-status-field-col input[type="date"]:focus,
.rm-status-field-col input[type="text"]:focus {
    border-color: #006643;
    outline: none;
}

.rm-status-input-icon-wrap {
    position: relative;
}

.rm-status-input-icon-wrap .dashicons {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}

.rm-status-btn-col {
    flex: 0 0 auto;
    min-width: 180px;
}

.rm-status-submit-btn {
    width: 100%;
    height: 45px;
    background: #006643;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.15s ease-in-out;
}

.rm-status-submit-btn:hover {
    background: #004d32;
}

.rm-status-submit-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 16px;
}

/* RÉSULTATS STATUT DE VOL */
.rm-status-result-wrap {
    animation: fadeIn 0.3s ease-in-out;
}

.rm-status-result-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.rm-status-result-meta {
    font-size: 12px;
    color: #64748b;
    margin: 0 0 20px 0;
}

.rm-status-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.rm-status-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    padding: 20px 25px;
    border-bottom: 1px solid #e2e8f0;
}

.rm-status-header-left,
.rm-status-header-right {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rm-status-header-left {
    align-items: flex-start;
}

.rm-status-header-right {
    align-items: flex-end;
    text-align: right;
}

.rm-status-operator-label,
.rm-status-aircraft-label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.5px;
}

.rm-status-flight-ident {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 24px;
    color: #006643;
}

.rm-status-flight-ident strong {
    font-weight: 700;
}

.rm-status-flight-ident .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
    line-height: 22px;
    color: #ffcc00;
}

.rm-status-aircraft-val {
    font-size: 20px;
    color: #0f172a;
    font-weight: 700;
}

/* BADGES DE STATUT */
.rm-status-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.rm-status-badge--scheduled {
    background: #e6f3ed;
    color: #006643;
    border: 1px solid #c2e0d3;
}

.rm-status-badge--delayed {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fef3c7;
}

.rm-status-badge--cancelled {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fee2e2;
}

.rm-status-badge--active {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
}

/* FRISE CHRONOLOGIQUE STATUS */
.rm-status-timeline-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin: 50px 35px;
    padding: 0;
}

.rm-status-timeline-line-bg {
    position: absolute;
    left: 40px;
    right: 40px;
    top: 45px; /* Aligné pile sur les centres des ronds et cercles d'escales */
    height: 3px;
    background: #006643;
    z-index: 1;
}

.rm-status-timeline-node {
    position: relative;
    z-index: 2;
    background: #ffffff;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.rm-status-time-above {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    line-height: 1.2;
}

.rm-status-node-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid #006643;
    background: #ffffff;
    margin-bottom: 10px;
    display: block;
}

.rm-status-node-dot--start {
    border-color: #006643;
    background: #ffffff;
    margin-top: 16px; /* Aligne le centre du point de départ à 45px verticalement */
}

.rm-status-node-dot--end {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #006643;
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 9px; /* Aligne le centre du point d'arrivée à 45px verticalement */
    margin-bottom: 3px;
}

.rm-status-node-dot--end .dashicons-airplane {
    font-size: 15px;
    width: 15px;
    height: 15px;
    line-height: 15px;
    transform: rotate(90deg);
}

.rm-status-timeline-node .rm-status-iata {
    font-size: 26px;
    font-weight: 700;
    color: #006643;
    line-height: 1.1;
}

.rm-status-timeline-node .rm-status-city {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    margin-top: 2px;
}

/* Escales au milieu */
.rm-status-stopover-node {
    padding: 0 15px;
}

.rm-status-stopover-times-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.rm-status-stopover-time-left,
.rm-status-stopover-time-right {
    font-size: 12px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.rm-status-stopover-time-left {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.rm-status-stopover-time-right {
    background: #e6f3ed;
    color: #006643;
    border: 1px solid #c2e0d3;
}

.rm-status-stopover-time-left .dashicons,
.rm-status-stopover-time-right .dashicons {
    font-size: 11px;
    width: 11px;
    height: 11px;
    line-height: 11px;
}

.rm-status-stopover-icon-circle {
    background: #ffffff;
    border: 2.5px solid #006643;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #006643;
}

.rm-status-stopover-icon-circle .dashicons-products {
    font-size: 15px;
    width: 15px;
    height: 15px;
    line-height: 15px;
}

.rm-status-stopover-label {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

/* GRILLE DE DÉTAILS DE VOL */
.rm-status-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 25px;
    border-top: 1px solid #f1f5f9;
    background: #ffffff;
}

.rm-status-details-col {
    display: flex;
    flex-direction: column;
}

.rm-status-detail-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px dashed #f1f5f9;
    gap: 4px;
}

.rm-status-details-col-left .rm-status-detail-item {
    align-items: flex-start;
    text-align: left;
}

.rm-status-details-col-right .rm-status-detail-item {
    align-items: flex-end;
    text-align: right;
}

.rm-status-detail-item:last-child {
    border-bottom: none;
}

.rm-status-detail-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.rm-status-detail-val {
    font-size: 14px;
    color: #0f172a;
    font-weight: 700;
}

/* FOOTER : DURÉE TOTALE */
.rm-status-duration-footer {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 16px 20px;
    margin: 0 25px 25px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.rm-status-duration-footer strong {
    font-weight: 600;
    color: #475569;
}

.rm-status-duration-footer span {
    font-size: 16px;
    font-weight: 700;
    color: #006643;
}

/* INFOS OPÉRATIONNELLES */
.rm-status-operational-info {
    display: flex;
    gap: 12px;
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-radius: 6px;
    padding: 16px 20px;
    margin: 0 25px 25px 25px;
    color: #78350f;
    align-items: flex-start;
}

.rm-status-operational-info .dashicons-info {
    font-size: 20px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    color: #d97706;
}

.rm-status-info-text strong {
    font-size: 13px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.rm-status-info-text p {
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .rm-status-fields-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .rm-status-btn-col {
        margin-top: 10px;
    }
    
    .rm-status-card-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .rm-status-header-right {
        align-items: flex-start;
        text-align: left;
    }
    
    .rm-status-timeline-container {
        flex-direction: column;
        gap: 30px;
        margin: 40px 20px;
        align-items: flex-start;
    }
    
    .rm-status-timeline-line-bg {
        left: 21px;
        top: 20px;
        bottom: 20px;
        width: 3px;
        height: auto;
        transform: none;
    }
    
    .rm-status-timeline-node {
        flex-direction: row;
        gap: 15px;
        padding: 5px 0;
        text-align: left;
    }
    
    .rm-status-node-dot--end {
        margin-top: 0;
        margin-bottom: 0;
    }
    
    .rm-status-stopover-node {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 0;
    }
    
    .rm-status-stopover-times-row {
        margin-left: 36px;
    }
    
    .rm-status-stopover-label {
        margin-left: 36px;
    }
    
    .rm-status-details-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
    }
    
    .rm-status-details-col-right .rm-status-detail-item {
        align-items: flex-start;
        text-align: left;
    }
}

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

/* COMMUTATEUR DE FUSEAU HORAIRE (IPHONE/IOS STYLE) */
.rm-timezone-toggle-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 16px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.rm-timezone-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    margin: 0;
}

.rm-timezone-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.rm-timezone-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .3s ease;
    border-radius: 24px;
}

.rm-timezone-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff;
    transition: .3s ease;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.rm-timezone-switch input:checked + .rm-timezone-slider {
    background-color: #006643;
}

.rm-timezone-switch input:checked + .rm-timezone-slider:before {
    transform: translateX(20px);
}

.rm-timezone-toggle-label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    user-select: none;
}


