:root {
    --brand-primary: #005bbb;
    --brand-primary-dark: #004a96;
    --brand-soft: #e0f2fe;
    --text-main: #1f2937;
    --text-muted: #64748b;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif !important;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    background: #f8fafc;
    color: var(--text-main);
}

.app-shell {
    display: grid;
    grid-template-columns: 270px 1fr;
    min-height: 100dvh;
}

.sidebar-left {
    background: linear-gradient(180deg, #0b3a61, #0a2744);
    color: #e2e8f0;
    padding: 16px 12px;
    border-right: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-brand {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px;
    margin-bottom: 12px;
    text-decoration: none;
    color: inherit;
}

.brand-logo-img {
    display: block;
    height: 40px;
    width: auto;
    object-fit: contain;
}

.topbar-brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-right: 10px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-menu-btn {
    display: none;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    background: #f8fafc;
    color: #0f172a;
}

.mobile-menu-btn i {
    font-size: 20px;
    line-height: 1;
}

.sidebar-mobile-overlay {
    display: none;
}

.topbar-logo {
    height: 40px;
}

.sidebar-brand small {
    display: block;
    color: #bfdbfe;
}

.sidebar-menu {
    display: grid;
    gap: 6px;
    flex: 1 1 auto;
    align-content: start;
}

.sidebar-menu a {
    color: #dbeafe;
    text-decoration: none;
    padding: 10px 10px;
    border-radius: 8px;
    display: block;
}

.sidebar-menu a:hover {
    background: rgba(14, 165, 233, .25);
    color: #ffffff;
}

.sidebar-menu i {
    margin-right: 8px;
}

.sidebar-help-card {
    border: 1px solid rgba(191, 219, 254, 0.45);
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.96) 0%, rgba(219, 234, 254, 0.92) 100%);
    padding: 10px;
    display: flex;
    gap: 10px;
    color: #0f172a;
}

.sidebar-help-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #005bbb;
    color: #ffffff;
    flex: 0 0 auto;
}

.sidebar-help-content {
    display: grid;
    gap: 2px;
}

.sidebar-help-content strong {
    font-size: 12px;
    color: #0f172a;
}

.sidebar-help-content span {
    font-size: 11px;
    color: #334155;
    line-height: 1.35;
}

.sidebar-help-link {
    margin-top: 3px;
    display: inline-flex;
    width: fit-content;
    text-decoration: none;
    background: #005bbb;
    color: #ffffff;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 11px;
    font-weight: 600;
}

.sidebar-help-link:hover {
    background: #004a96;
    color: #ffffff;
}

.help-tabs-card {
    border-radius: 16px;
    border: 1px solid #dbeafe;
}

.help-nav-tabs {
    border-bottom: 1px solid #dbeafe;
    gap: 6px;
}

.help-nav-tabs .nav-link {
    border: 0;
    border-radius: 10px 10px 0 0;
    color: #334155;
    font-weight: 600;
    padding: 10px 12px;
}

.help-nav-tabs .nav-link.active {
    background: #005bbb;
    color: #ffffff;
}

.help-process-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.help-process-list li {
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 10px;
    background: #f8fbff;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.help-process-list i {
    color: #005bbb;
    margin-top: 2px;
}

.help-highlight {
    border: 1px solid #cfe0ff;
    border-radius: 12px;
    background: #f8fbff;
    padding: 12px;
}

.help-highlight h3 {
    font-size: 14px;
    margin: 0 0 6px;
    color: #0f172a;
}

.help-highlight p {
    margin: 0;
    color: #334155;
}

.accordion-button:not(.collapsed) {
    color: #ffffff;
    background-color: #005bbb;
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(0, 91, 187, 0.25);
}

.main-panel {
    background: #f1f5f9;
}

.topbar-adminlte {
    background: #ffffff;
    border-bottom: 1px solid #dbe3ef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    position: sticky;
    top: 0;
    z-index: 30;
}

.topbar-adminlte h1 {
    margin: 0;
    font-size: 15px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-user {
    background: #eef2ff;
    color: #1e3a8a;
    border: 1px solid #c7d2fe;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    width: auto;
    margin-bottom: 0;
}

.profile-dropdown {
    position: relative;
}

.profile-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.profile-dropdown-toggle.topbar-user:hover,
.profile-dropdown-toggle.topbar-user:active {
    background: #e8eefc;
    color: #1e3a8a;
    border-color: #bfd0f3;
}

.profile-dropdown-toggle .org-topbar-name {
    color: #0f172a;
}

.profile-dropdown-toggle:focus-visible {
    outline: 2px solid #005bbb;
    outline-offset: 2px;
}

.profile-caret {
    font-size: 11px;
    color: #0f172a;
    transition: transform 0.2s ease;
}

.profile-dropdown-menu {
    position: absolute;
    right: 0;
    top: 46px;
    min-width: 250px;
    background: #fff;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .14);
    display: none;
    overflow: hidden;
    z-index: 40;
}

.profile-dropdown.open .profile-dropdown-menu {
    display: block;
}

.profile-dropdown.open .profile-caret {
    transform: rotate(180deg);
}

.profile-dropdown-head {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
    display: grid;
    gap: 2px;
}

.profile-dropdown-head strong {
    font-size: 13px;
    color: #0f172a;
}

.profile-dropdown-head span {
    font-size: 12px;
    color: #64748b;
}

.profile-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #0f172a;
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
}

.profile-dropdown-menu a:hover {
    background: #eff6ff;
    color: #0f172a;
}

.profile-dropdown-menu a.danger {
    color: #b42318;
}

.profile-dropdown-menu a:last-child {
    border-bottom: 0;
}

.org-topbar-user {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.org-avatar-img {
    width: 35px;
    height: 35px;
    object-fit: cover;
    border: 1px solid #dbeafe;
}

.org-avatar-fallback {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #005bbb;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #cfe0ff;
}

.org-topbar-name {
    max-width: 190px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-wrapper {
    position: relative;
}

.notif-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0;
}
.notif-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

.notif-btn-alert {
    color: #2563eb;
    border-color: #dbeafe;
    background: #eff6ff;
}
.notif-btn-alert:hover {
    background: #dbeafe;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

@keyframes bellRing {
    0%, 100% { transform: rotate(0); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(8deg); }
    20%, 40%, 60%, 80% { transform: rotate(-8deg); }
}
.notif-btn-alert i {
    animation: bellRing 2.5s ease infinite;
    display: inline-block;
}

.notif-badge {
    position: absolute;
    right: -2px;
    top: -2px;
    background: #ef4444;
    color: #ffffff;
    border-radius: 999px;
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    border: 2px solid #ffffff;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.notif-menu {
    position: absolute;
    right: 0;
    top: 52px;
    width: 360px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    z-index: 1050;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: block !important;
}

.notif-menu.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.notif-menu-head {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    background: #f8fafc;
    font-weight: 700;
    font-size: 0.85rem;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.notif-item {
    display: flex;
    text-decoration: none;
    color: #334155;
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: start;
    gap: 12px;
}
.notif-item:last-child {
    border-bottom: none;
}
.notif-item:hover {
    background: #f8fafc;
    color: #0f172a;
}

.notif-item-unread {
    background-color: rgba(37, 99, 235, 0.02);
}
.notif-item-unread:hover {
    background-color: rgba(37, 99, 235, 0.05);
}
.notif-item-unread .notif-title {
    font-weight: 700;
    color: #0f172a;
}

.notif-item-read {
    opacity: 0.65;
}
.notif-item-read:hover {
    opacity: 1;
    background-color: #f8fafc;
}
.notif-item-read .notif-icon-circle {
    background-color: #f1f5f9 !important;
    color: #94a3b8 !important;
}

.notif-unread-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
    align-self: center;
    flex-shrink: 0;
}

.notif-item-actionable {
    position: relative;
    cursor: pointer;
}
.notif-item-coordination {
    background-color: rgba(245, 158, 11, 0.02);
    border-left: 3px solid #f59e0b;
}
.notif-item-coordination:hover {
    background-color: rgba(245, 158, 11, 0.06);
}
.notif-item-info-request {
    background-color: rgba(239, 68, 68, 0.02);
    border-left: 3px solid #ef4444;
}
.notif-item-info-request:hover {
    background-color: rgba(239, 68, 68, 0.06);
}

.notif-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.notif-icon-circle-warning {
    background-color: #fff7ed;
    color: #f97316;
}
.notif-icon-circle-primary {
    background-color: #eff6ff;
    color: #3b82f6;
}
.notif-icon-circle-danger {
    background-color: #fef2f2;
    color: #ef4444;
}

.notif-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    display: block;
    margin-bottom: 2px;
}

.notif-message {
    font-size: 0.8rem;
    color: #64748b;
    display: block;
    line-height: 1.4;
}

.notif-action-link {
    font-size: 0.75rem;
    color: #2563eb;
    font-weight: 600;
    display: block;
    margin-top: 6px;
}
.notif-action-link i {
    transition: transform 0.2s ease;
}
.notif-item:hover .notif-action-link i {
    transform: translateX(3px);
}

.notif-date {
    font-size: 0.725rem;
    color: #94a3b8;
    display: block;
    margin-top: 6px;
}

.notif-empty {
    padding: 36px 16px;
    text-align: center;
}
.notif-empty-icon {
    font-size: 2rem;
    color: #cbd5e1;
    margin-bottom: 12px;
}
.notif-empty-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 4px;
}
.notif-empty-desc {
    font-size: 0.8rem;
    color: #94a3b8;
}

.container.full-width {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

.decision-map {
    width: 100%;
    height: 360px;
    border-radius: 10px;
    border: 1px solid #dbeafe;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.decision-map .leaflet-pane,
.decision-map .leaflet-top,
.decision-map .leaflet-bottom,
.decision-map .leaflet-control {
    z-index: 2;
}

.map-popup {
    min-width: 220px;
}

.stats-inline-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.stats-inline-card,
.stats-card {
    border-radius: 14px;
    border: 1px solid #dbeafe;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.stats-inline-card {
    padding: 12px;
    display: grid;
    gap: 4px;
}

.stats-inline-card span {
    color: #64748b;
    font-size: 12px;
}

.stats-inline-card strong {
    color: #0f172a;
    font-size: 22px;
    line-height: 1;
}

.urgency-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #fee2e2;
    color: #9f1239;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
}

.inline-form {
    display: inline;
}

.btn-small {
    width: auto;
    padding: 7px 10px;
    margin: 0;
    font-size: 12px;
}

.user-create-form .full-row {
    grid-column: 1 / -1;
}

.status-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 11px;
    font-weight: 600;
}

.status-chip.active {
    background: #dcfce7;
    color: #166534;
}

.status-chip.blocked {
    background: #fee2e2;
    color: #991b1b;
}

.status-chip.pending {
    background: #fff7ed;
    color: #c2410c;
}

.user-mini-avatar,
.user-mini-fallback {
    width: 40px;
    height: 40px;
    border: 1px solid #dbeafe;
}

.user-mini-avatar {
    object-fit: cover;
}

.user-mini-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #005bbb, #0ea5e9);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.org-name-cell {
    font-weight: 600;
    color: #0f172a;
}

.users-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-icon {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.btn-icon-soft {
    background: #eff6ff;
    color: #1d4ed8;
}

.btn-icon-primary {
    background: #dbeafe;
    color: #1d4ed8;
}

.btn-icon-warning {
    background: #fef3c7;
    color: #b45309;
}

.btn-icon-danger {
    background: #fee2e2;
    color: #b91c1c;
}

.btn-icon-success {
    background: #dcfce7;
    color: #166534;
}

.btn-icon:hover {
    filter: brightness(0.96);
}

.user-detail-card {
    border: 1px solid #dbeafe;
    border-radius: 14px;
    padding: 14px;
    background: #f8fbff;
}

.user-detail-logo-wrap {
    width: 88px;
    height: 88px;
}

.user-detail-logo,
.user-detail-fallback {
    width: 88px;
    height: 88px;
    border: 1px solid #dbeafe;
}

.user-detail-logo {
    object-fit: cover;
}

.user-detail-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #005bbb, #0ea5e9);
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
}

.user-detail-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.user-detail-meta-grid strong {
    font-size: 12px;
    color: #475569;
}

.user-detail-meta-grid p {
    margin-top: 2px;
}

.user-detail-kpi {
    border-radius: 10px;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    padding: 10px;
    display: grid;
    gap: 2px;
}

.user-detail-kpi span {
    font-size: 12px;
    color: #0c4a6e;
}

.user-detail-kpi strong {
    font-size: 14px;
    color: #075985;
}

.users-list-card {
    border-radius: 16px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
    border: 1px solid #dbeafe;
}

.users-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.users-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    width: auto;
    margin: 0;
}

.users-section-note {
    font-size: 12px;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 10px;
    margin-bottom: 10px;
}

.info-tip {
    color: #005bbb;
    margin-left: 6px;
    font-size: 12px;
    cursor: help;
}

.users-filters-bar {
    display: grid;
    grid-template-columns: 1.35fr repeat(2, minmax(190px, 1fr));
    gap: 10px;
    margin-bottom: 14px;
    background: linear-gradient(180deg, #f8fbff 0%, #f1f7ff 100%);
    border: 1px solid #cfe0ff;
    border-radius: 14px;
    padding: 12px;
}

.users-filter-item {
    display: grid;
    gap: 4px;
}

.users-filter-item label {
    margin: 0;
    font-size: 12px;
    color: #475569;
    font-weight: 500;
}

.users-filter-item select,
.users-search-input {
    margin: 0;
    height: 40px;
    border: 1px solid #b7d2ff;
    border-radius: 10px;
    background: #ffffff;
    padding: 0 12px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.users-filter-item select:focus,
.users-search-input:focus {
    border-color: #005bbb;
    box-shadow: 0 0 0 3px rgba(0, 91, 187, 0.15);
    outline: none;
}

.users-search-container {
    margin: 0;
}

.users-search-container label {
    margin: 0;
    width: 100%;
    display: block;
}

.users-search-container label::before {
    content: 'Recherche avancée';
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    color: #475569;
    font-weight: 500;
}

.users-search-container label input {
    width: 100%;
}

.table-users {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    overflow: hidden;
}

.table-users th {
    background: linear-gradient(180deg, #eff6ff 0%, #e7f0ff 100%);
    color: #0f172a;
    font-size: 12px;
    border-bottom: 1px solid #cfe0ff;
    padding-top: 11px;
    padding-bottom: 11px;
}

.table-users td {
    vertical-align: middle;
    border-bottom: 1px solid #edf2f7;
    padding-top: 11px;
    padding-bottom: 11px;
}

.table-users tbody tr:nth-child(even) {
    background: #fcfdff;
}

.table-users tbody tr:hover {
    background: #eef6ff;
}

.users-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 10px;
}

.users-length-container label,
.users-info-container,
.users-paginate-container {
    font-size: 12px;
    color: #475569;
}

.users-paginate-container .paginate_button {
    border-radius: 8px !important;
}

.users-length-container select {
    width: auto;
    min-width: 74px;
    margin: 0 4px;
}

.nav-tabs .nav-link {
    width: auto;
    margin-bottom: 0;
}

.rapportage-launch-card {
    background: linear-gradient(130deg, #f9fcff 0%, #eef6ff 100%);
    border: 1px solid #cfe0ff;
}

.rapportage-launch-header p {
    max-width: 760px;
}

.rapportage-mode-card {
    display: block;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    padding: 18px;
    background: #ffffff;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    color: #0f172a;
    min-height: 100%;
}

.rapportage-mode-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(2, 6, 23, 0.08);
    border-color: #95c2ff;
}

.rapportage-mode-card h2 {
    margin: 12px 0 8px;
    font-size: 18px;
}

.rapportage-mode-card p {
    margin-bottom: 0;
    color: #475569;
}

.rapportage-mode-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    padding: 5px 10px;
}

.mode-ai .rapportage-mode-chip {
    color: #0c4a6e;
    background: #dff7ff;
}

.mode-manual .rapportage-mode-chip {
    color: #1e3a8a;
    background: #e9efff;
}

.rapportage-mini-timeline li {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed #dbeafe;
}

.rapportage-mini-timeline li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.rapportage-mini-timeline .dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    margin-top: 7px;
    background: #005bbb;
    flex: 0 0 auto;
}

.rapportage-list-card {
    border: 1px solid #dbeafe;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
}

.status-draft {
    background: #f3f4f6;
    color: #374151;
}

.status-submitted {
    background: #e0f2fe;
    color: #075985;
}

.status-review {
    background: #fff7ed;
    color: #9a3412;
}

.status-valid {
    background: #dcfce7;
    color: #166534;
}

.status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.status-neutral {
    background: #e2e8f0;
    color: #334155;
}

.rapportage-detail-main {
    border: 1px solid #dbeafe;
}

.rapportage-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.rapportage-detail-grid strong {
    display: block;
    font-size: 12px;
    color: #475569;
}

.rapportage-detail-grid p {
    margin: 3px 0 0;
}

.rapportage-attachments-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.rapportage-attachment-item {
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 10px;
    display: grid;
    gap: 2px;
    text-decoration: none;
    color: #0f172a;
    background: #f8fbff;
}

.rapportage-attachment-item i {
    color: #1d4ed8;
}

.rapportage-timeline-card {
    border: 1px solid #dbeafe;
}

.rapportage-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.rapportage-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 16px;
    width: 2px;
    background: #bfdbfe;
}

.rapportage-timeline li {
    position: relative;
    display: flex;
    gap: 10px;
    padding: 0 0 14px;
}

.rapportage-timeline li:last-child {
    padding-bottom: 0;
}

.rapportage-timeline-dot {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe2ea;
    background: #ffffff;
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
}

.rapportage-timeline-dot i {
    font-size: 0.95rem;
}

.timeline-dot-primary {
    background: rgba(59, 130, 246, 0.15) !important;
}

.timeline-dot-success {
    background: rgba(16, 185, 129, 0.14) !important;
}

.timeline-dot-danger {
    background: rgba(239, 68, 68, 0.14) !important;
}

.timeline-dot-warning {
    background: rgba(245, 158, 11, 0.18) !important;
}

.timeline-dot-secondary {
    background: rgba(100, 116, 139, 0.15) !important;
}

.rapportage-decision-panel {
    border: 1px solid #dbeafe;
    background: linear-gradient(180deg, #f8fbff 0%, #f2f8ff 100%);
}

.rapportage-btn-success,
.rapportage-btn-info,
.rapportage-btn-danger {
    width: auto;
    margin: 0;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 600;
}

.rapportage-btn-success {
    background: #15803d;
}

.rapportage-btn-info {
    background: #0369a1;
}

.rapportage-btn-danger {
    background: #b91c1c;
}

@media (max-width: 991.98px) {
    .rapportage-detail-grid {
        grid-template-columns: 1fr;
    }

    .rapportage-attachments-grid {
        grid-template-columns: 1fr;
    }
}
.container {
    max-width: 980px;
    margin: 24px auto;
    padding: 0 16px;
}
.card {
    background: #fff;
    border: 1px solid var(--brand-soft);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
}
h1 { margin: 0 0 10px; font-size: 18px; font-weight: 500; }
h2 { margin: 0 0 8px; font-size: 14px; font-weight: 500; }
label { display: block; margin-bottom: 6px; font-weight: 400; }
input, select, textarea, button {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    margin-bottom: 12px;
    font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
button { background: var(--brand-primary); color: white; border: 0; cursor: pointer; font-weight: 500; }
button:hover { background: var(--brand-primary-dark); }
button.secondary { background: #334155; }
a.btn {
    display: inline-block;
    padding: 10px 14px;
    background: var(--brand-primary);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    margin-right: 8px;
}
.topnav {
    background: var(--brand-primary);
    color: white;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.brand-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}
.brand-default-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .2);
    color: #ffffff;
}
.topnav strong {
    font-weight: 500;
    font-size: 14px;
}
.topnav a { color: #e0f2fe; margin-right: 12px; text-decoration: none; }
.topnav a:hover { color: #ffffff; }
.lang-switch {
    margin-left: auto;
    display: inline-flex;
    gap: 6px;
    align-items: center;
}
.lang-switch select {
    margin: 0;
    padding: 5px 8px;
    font-size: 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .12);
    color: #ffffff;
    width: auto;
    min-width: 84px;
}
.lang-switch select option { color: #111827; }
.topnav-subtitle {
    color: #e0f2fe;
    font-size: 11px;
    opacity: .9;
}
.flash { padding: 10px; border-radius: 8px; margin-bottom: 12px; }
.flash.success { background: #dcfce7; color: #166534; }
.flash.error { background: #fee2e2; color: #991b1b; }

.toast-stack {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 12000;
    display: grid;
    gap: 8px;
    max-width: 340px;
}

.toast-item {
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 12px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.18);
    border: 1px solid transparent;
    animation: toastIn 0.22s ease;
    transition: opacity .26s ease, transform .26s ease;
}

.toast-item.success {
    background: #dcfce7;
    color: #14532d;
    border-color: #86efac;
}

.toast-item.error {
    background: #fee2e2;
    color: #7f1d1d;
    border-color: #fca5a5;
}

.toast-item.hide {
    opacity: 0;
    transform: translateY(-6px);
}
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.table {
    width: 100%;
    border-collapse: collapse;
}
.table th, .table td {
    border: 1px solid #e5e7eb;
    padding: 8px;
    text-align: left;
}
small.muted { color: var(--text-muted); }
.avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #cbd5e1;
}

.login-hero {
    background: #ffffff;
    color: var(--text-main);
    border: 1px solid var(--brand-soft);
}

.login-hero h1 {
    margin-bottom: 8px;
}

.login-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 16px;
}

.aide-details {
    border: 1px solid var(--brand-soft);
    background: #f9fdff;
    border-radius: 8px;
    padding: 10px;
}

.aide-details summary {
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 8px;
}

.app-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #005bbb;
    backdrop-filter: blur(2px);
    transition: opacity .45s ease, visibility .45s ease;
}

.app-loader.loader-light {
    background: #ffffff;
}

.app-loader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.app-loader-box {
    text-align: center;
    color: #ffffff;
    width: 320px;
    max-width: 88vw;
    padding: 10px 16px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.app-loader.loader-dark .app-loader-box {
    color: #ffffff;
    background: transparent;
    border: 0;
}

.app-loader-logo {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 2px;
    color: #ffffff;
}

.app-loader-gif {
    display: block;
    margin: 0 auto 4px;
    width: 94px;
    height: 94px;
    object-fit: contain;
}

.app-loader-title {
    margin: 0;
    font-weight: 500;
    color: #ffffff;
}

.app-loader-subtitle {
    margin: 4px 0 0;
    color: #dbeafe;
    font-size: 12px;
    max-width: 220px;
}

.app-loader.loader-dark .app-loader-subtitle,
.app-loader.loader-dark .app-loader-title {
    color: #dbeafe;
}

.inline-hint {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 12px;
}

.forgot-password-link {
    margin: -4px 0 0;
    font-size: 12px;
}

.forgot-password-link a {
    color: var(--brand-primary-dark);
    text-decoration: none;
}

.forgot-password-link a:hover {
    text-decoration: underline;
}

.forgot-actions {
    margin-top: 8px;
    margin-bottom: 10px;
}

.forgot-actions .btn {
    margin-right: 0;
}

.public-tagline {
    background: linear-gradient(90deg, rgba(14,165,233,.10), rgba(255,255,255,.95));
    border-bottom: 1px solid var(--brand-soft);
    padding: 10px 16px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.tagline-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--brand-primary);
    color: #fff;
    font-size: 12px;
}

.tagline-typing,
.hero-intro {
    color: #0f172a;
    font-size: 13px;
    min-height: 1.4em;
}

.tagline-typing {
    transition: opacity .24s ease, transform .24s ease;
}

.tagline-typing.is-fading {
    opacity: 0;
    transform: translateY(-2px);
}

.icon-inline {
    margin-right: 6px;
    color: var(--brand-primary-dark);
}

#bloc-aide-connexion {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes loaderAutoHide {
    0%, 75% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; pointer-events: none; }
}

.login-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.login-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.report-header-branding {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 12px;
}

.report-header-branding img {
    height: 40px;
    width: auto;
}

.report-header-text {
    display: grid;
}

.report-header-text strong {
    color: #005bbb;
    font-size: 13px;
}

.report-header-text span {
    color: #475569;
    font-size: 12px;
}

.profile-org-card {
    background: #ffffff;
    border: 1px solid #dbe8f5;
}

.profile-shell {
    margin-bottom: 16px;
}

.profile-hero-card {
    border: 1px solid #dbe8f5;
    background: linear-gradient(140deg, #ffffff 0%, #f3f8ff 100%);
}

.profile-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 18px;
}

.profile-org-logo-wrap-lg {
    width: 160px;
    height: 160px;
}

.profile-kicker {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #1e3a8a;
    background: #e0e7ff;
}

.profile-edit-trigger {
    width: auto;
    margin-bottom: 0;
}

.profile-shell .btn-primary,
.profile-org-card .btn-primary {
    background: #005bbb;
    border-color: #005bbb;
    color: #ffffff;
}

.profile-shell .btn-primary:hover,
.profile-org-card .btn-primary:hover {
    background: #004a96;
    border-color: #004a96;
}

.profile-shell .btn-outline-primary,
.profile-org-card .btn-outline-primary {
    color: #005bbb;
    border-color: #005bbb;
}

.profile-shell .btn-outline-primary:hover,
.profile-org-card .btn-outline-primary:hover {
    color: #ffffff;
    background: #005bbb;
    border-color: #005bbb;
}

.profile-shell .btn-outline-secondary,
.profile-org-card .btn-outline-secondary {
    color: #0f3f79;
    border-color: #9fbde3;
    background: #ffffff;
}

.profile-shell .btn-outline-secondary:hover,
.profile-org-card .btn-outline-secondary:hover {
    color: #0b2f5b;
    border-color: #6f99cf;
    background: #edf5ff;
}

.profile-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #0f172a;
}

.profile-section-title i {
    color: #005bbb;
}

.password-field {
    position: relative;
}

.password-field .form-control,
.password-field input[type="password"],
.password-field input[type="text"] {
    padding-right: 42px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #475569;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
}

.password-toggle:hover {
    background: #edf5ff;
    color: #005bbb;
}

.profile-insight-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.profile-insight-item {
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: #f8fbff;
    padding: 10px;
    display: grid;
    gap: 3px;
}

.profile-insight-item small {
    color: #475569;
    font-size: 11px;
}

.profile-insight-item strong {
    color: #0f172a;
    font-size: 13px;
}

.profile-org-logo-wrap {
    width: 140px;
    height: 140px;
    flex: 0 0 auto;
}

.profile-org-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid #dbeafe;
}

.profile-org-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #005bbb, #004a96);
    color: #ffffff;
    font-size: 38px;
    font-weight: 700;
}

.profile-org-meta {
    display: grid;
    gap: 4px;
    color: #334155;
}

.profile-meta-item {
    display: grid;
    gap: 1px;
}

.profile-meta-item strong {
    color: #334155;
    font-size: 12px;
}

.profile-meta-item span,
.profile-meta-item a {
    color: #0f172a;
}

.profile-logo-current {
    border: 1px solid #dbeafe;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    padding: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.profile-logo-current-media {
    width: 120px;
    height: 120px;
    flex: 0 0 auto;
}

.profile-logo-current-actions {
    flex: 1 1 260px;
    min-width: 220px;
    display: grid;
    gap: 6px;
}

.profile-logo-current-label {
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.profile-logo-current-actions .btn {
    width: auto;
    margin-bottom: 0;
}

#logo-upload-status {
    min-height: 18px;
}

.cropper-container-wrap {
    max-height: 58vh;
    overflow: auto;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 760px) {
    .grid { grid-template-columns: 1fr; }
    .stats-inline-grid { grid-template-columns: 1fr; }
    .user-detail-meta-grid { grid-template-columns: 1fr; }
    .users-header-row { flex-direction: column; }
    .users-filters-bar { grid-template-columns: 1fr; }
    .users-table-footer { flex-direction: column; align-items: flex-start; }
    .login-grid { grid-template-columns: 1fr; }
    .lang-switch { width: 100%; margin-left: 0; }
    .lang-switch select { min-width: 100%; }
    .app-shell { grid-template-columns: 1fr; }
    .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .sidebar-left {
        position: fixed;
        top: 0;
        left: 0;
        width: min(86vw, 320px);
        height: 100dvh;
        z-index: 4000;
        transform: translateX(-105%);
        transition: transform .25s ease;
        box-shadow: 0 16px 36px rgba(2, 6, 23, 0.26);
        overflow-y: auto;
    }
    .sidebar-left.is-open {
        transform: translateX(0);
    }
    .sidebar-mobile-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 3900;
        background: rgba(2, 6, 23, 0.48);
        opacity: 0;
        pointer-events: none;
        border: 0;
        margin: 0;
        padding: 0;
        transition: opacity .2s ease;
    }
    .sidebar-mobile-overlay.is-open {
        opacity: 1;
        pointer-events: auto;
    }
    body.sidebar-mobile-open {
        overflow: hidden;
    }
    .notif-menu {
        width: min(92vw, 340px);
        max-width: calc(100vw - 16px);
        right: 0;
        left: auto;
    }
    .brand-logo-img,
    .topbar-logo,
    .login-logo,
    .report-header-branding img {
        height: 34px;
    }
    .org-topbar-name {
        max-width: 110px;
    }
    .profile-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .profile-insight-grid {
        grid-template-columns: 1fr;
    }
    .profile-logo-current {
        flex-direction: column;
        align-items: flex-start;
    }
    .container.full-width {
        width: 100% !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

/* ============================================================
   CORRECTIFS RESPONSIVITÉ MOBILE — ANTIGRAVITY SPRINT 4
   Permet le zoom utilisateur sur les pages lourdes (tableaux).
   overflow-x: clip empêche le scroll horizontal parasite du body
   tout en permettant le scroll interne des .table-responsive.
   ============================================================ */
html, body {
    max-width: 100%;
    overflow-x: clip;
}

/* Tables : scroll horizontal indépendant sur mobile */
.table-responsive,
.table-responsive-auto {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    /* Empêche le zoom automatique iOS sur focus des inputs */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="search"],
    input[type="number"],
    input[type="tel"],
    input[type="url"],
    input[type="date"],
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* ============================================================
   CORRECTIF TIMELINE — CHEVAUCHEMENT (MISSION 2 SPRINT 4)
   Force un espacement clair entre les éléments de la timeline
   sur la page rapportage-details pour éviter la superposition.
   ============================================================ */
.rapportage-timeline li {
    position: relative;
    display: flex;
    gap: 10px;
    padding: 0 0 1.5rem;
    margin-bottom: 0.5rem;
}

.rapportage-timeline li:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
}

.rapportage-timeline li .timeline-content,
.rapportage-timeline li > div:not(.rapportage-timeline-dot) {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    background: #f8fbff;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* ════════════════════════════════════════════════════════════════
   CORRECTION Z-INDEX : CARTE LEAFLET VS EN-TÊTE
   ════════════════════════════════════════════════════════════════ */

/* Force l'en-tête principal à toujours rester au-dessus de tout (y compris la carte) */
.topbar-adminlte {
    z-index: 1050 !important;
}

/* Rabaisse le niveau des conteneurs Leaflet pour qu'ils passent sous la navbar lors du scroll */
.leaflet-container {
    z-index: 10 !important;
}

/* ============================================================
   STYLE SAAS PREMIUM — MODALES BOOTSTRAP 5
   ============================================================ */

.modal-content {
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
    font-family: 'Inter', 'Poppins', sans-serif !important;
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid #f3f4f6 !important;
    padding: 1.25rem 1.5rem !important;
}

.modal-title {
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
}

.modal-body {
    font-size: 0.9rem !important;
    color: #4b5563 !important;
    padding: 1.5rem !important;
    line-height: 1.6;
}

.modal-footer {
    border-top: 1px solid #f3f4f6 !important;
    padding: 1rem 1.5rem !important;
    background-color: #f9fafb !important;
    border-bottom-left-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
}

.modal-footer .btn {
    border-radius: 8px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    padding: 0.5rem 1.25rem !important;
}

/* ============================================================
   STYLE SAAS PREMIUM — SWEETALERT2 (sélecteurs natifs)
   Force le design même sans customClass mixin
   ============================================================ */

/* Popup principale */
.swal2-popup {
    border-radius: 16px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14) !important;
    width: 380px !important;
    padding: 1.75rem 1.5rem 1.5rem !important;
    font-family: 'Inter', 'Poppins', sans-serif !important;
}

/* Titre */
.swal2-title {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #111827 !important;
    padding: 0 !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.8rem !important;
    line-height: 1.4 !important;
}

/* Texte / body */
.swal2-html-container,
.swal2-content {
    font-size: 0.875rem !important;
    color: #6b7280 !important;
    margin-top: 0 !important;
    line-height: 1.55 !important;
}

/* Icône — réduite pour ne pas prendre tout l'espace */
.swal2-icon {
    width: 52px !important;
    height: 52px !important;
    margin: 0 auto 1.5rem !important;
    font-size: 1.6rem !important;
}
.swal2-icon .swal2-icon-content {
    font-size: 2rem !important;
}

/* Zone des boutons */
.swal2-actions {
    margin-top: 1.4rem !important;
    gap: 8px !important;
}

/* Bouton confirmer */
.swal2-confirm {
    border-radius: 8px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    padding: 0.55rem 1.4rem !important;
    letter-spacing: 0.01em !important;
}

/* Bouton annuler */
.swal2-cancel {
    border-radius: 8px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    padding: 0.55rem 1.4rem !important;
}

/* Classe personnalisée sydra-swal-popup (via mixin premiumAlert) */
.sydra-swal-popup {
    border-radius: 16px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14) !important;
    width: 380px !important;
    padding: 1.75rem 1.5rem 1.5rem !important;
    font-family: 'Inter', 'Poppins', sans-serif !important;
}

.sydra-swal-title {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #111827 !important;
    line-height: 1.4 !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.8rem !important;
}

.sydra-swal-text {
    font-size: 0.875rem !important;
    color: #6b7280 !important;
    line-height: 1.55 !important;
}

/* ============================================================
   STYLE SAAS PREMIUM — TOASTR (Notifications discrètes)
   ============================================================ */

#toast-container > div {
    border-radius: 12px !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10) !important;
    opacity: 1 !important;
    font-family: 'Inter', 'Poppins', sans-serif !important;
    padding: 14px 14px 14px 50px !important;
    font-size: 0.875rem !important;
    min-width: 280px !important;
    max-width: 360px !important;
}

/* Design Premium pour Notifications (SweetAlert2) */
.premium-toast {
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12) !important;
    font-family: 'Inter', 'Poppins', sans-serif !important;
    padding: 12px 20px !important;
    color: #ffffff !important;
    border: none !important;
}
.premium-toast-success { background-color: #10b981 !important; }
.premium-toast-error { background-color: #ef4444 !important; }
.premium-toast-title { color: #ffffff !important; font-size: 0.95rem !important; margin: 0 !important; }
.premium-toast .swal2-icon { border: none !important; color: #ffffff !important; }
.premium-toast .swal2-success-ring { border-color: rgba(255,255,255,0.4) !important; }
.premium-toast .swal2-success-line-tip, .premium-toast .swal2-success-line-long,
.premium-toast .swal2-x-mark-line-left, .premium-toast .swal2-x-mark-line-right { background-color: #ffffff !important; }

/* Design Premium pour les Popups d'erreur centrales (ex: Accès interdit) */
.premium-swal-popup {
    border-radius: 20px !important;
    padding: 2rem !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15) !important;
    font-family: 'Inter', 'Poppins', sans-serif !important;
}
.premium-swal-title {
    font-weight: 700 !important;
    color: #1e293b !important;
}
.premium-swal-btn {
    border-radius: 10px !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
    box-shadow: 0 4px 14px rgba(0, 91, 187, 0.3) !important;
}

/* Premium UI pour les Chips du Chatbot (Mission 2) */
.chat-suggestion-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.chat-suggestion-chip {
    background-color: #f1f5f9;
    color: #0d6efd;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', 'Poppins', sans-serif;
}
.chat-suggestion-chip:hover {
    background-color: #e0e7ff;
    border-color: #0d6efd;
    transform: translateY(-1px);
}

/* ============================================================
   MOBILE-FIRST STANDARD COMPATIBILITY
   ============================================================ */

/* Empêcher le zoom automatique des téléphones sur les champs de saisie */
@media screen and (max-width: 768px) {
    .form-control, .form-select {
        font-size: 16px;
    }
}





