/*
 * FICHIER: assets/css/filtres.css
 * Révision: 1.2
 * Date de révision: 2026-09-16 23:46:00 UTC
 * Description: Panneau de phases masqué par défaut, ouvert en fixed.
 */
.ft-wrap { position: relative; display: inline-block; margin-bottom: .28rem; vertical-align: top; }
.ft-wrap:last-child { margin-bottom: 0; }
.ft-btn {
    width: 100%; background: #fff; color: #0A2F5C; border: 1px solid #CBD5E1;
    border-radius: 6px; padding: .28rem .45rem; font-size: .75rem; cursor: pointer; text-align: left;
}
.ft-btn:hover { background: #F8FAFC; }
.ft-panel {
    display: none !important;
}
.ft-panel.open,
.ft-panel.ft-open {
    display: block !important;
    position: fixed;
    z-index: 5000;
    box-sizing: border-box;
    max-width: min(440px, calc(100vw - 24px));
    max-height: 280px;
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15,23,42,.18);
    padding: .45rem .65rem;
}
.ft-panel label {
    display: flex;
    align-items: flex-start;
    gap: .45rem;
    font-size: .8rem;
    color: #334155;
    padding: .18rem 0;
    cursor: pointer;
    white-space: normal;
    box-sizing: border-box;
    width: 100%;
}
.ft-panel .ft-label {
    white-space: normal;
    overflow-wrap: anywhere;
    flex: 1;
    min-width: 0;
}
.ft-all {
    font-weight: 600;
    border-bottom: 1px solid #E2E8F0;
    margin-bottom: .25rem;
    padding-bottom: .3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}
.ft-none {
    background: #fff;
    color: #0A2F5C;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    padding: .12rem .45rem;
    font-size: .75rem;
    cursor: pointer;
}
.ft-none:hover { background: #F8FAFC; }
.ft-input {
    width: 100%; box-sizing: border-box; border: 1px solid #CBD5E1; border-radius: 6px;
    padding: .28rem .45rem; font-size: .75rem; color: #0F172A;
}
