
/* ================================
   PAGE BOURSE - Style Compact
   ================================ */

.bourse-page-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 15px;
  font-family: "Lato", sans-serif;
  background: #eef1f4;
}

/* ================================
   SYNTHESE STYLE BOURSORAMA
   ================================ */
.bourse-synthesis {
  display: flex;
  gap: 25px;
  background: #fff;
  padding: 25px 30px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Colonne gauche: Identite + Prix */
.synthesis-left {
  flex: 0 0 320px;
  border-right: 1px solid #e5e8eb;
  padding-right: 25px;
}
.synthesis-identity {
  display: flex;
  flex-direction: column;
}
.bourse-breadcrumb {
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
}
.bourse-breadcrumb a {
  color: #006fb7;
  text-decoration: none;
}
.bourse-breadcrumb a:hover {
  text-decoration: underline;
}
.synthesis-identity h1 {
  font-size: 22px;
  font-weight: 700;
  color: #1d1d1d;
  margin: 0 0 15px 0;
  letter-spacing: -0.3px;
}

/* Prix principal */
.synthesis-price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}
.synthesis-price {
  font-size: 38px;
  font-weight: 700;
  color: #1d1d1d;
  line-height: 1;
}
.synthesis-currency {
  font-size: 18px;
  color: #666;
  font-weight: 500;
}
.synthesis-variation {
  font-size: 16px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  margin-left: 5px;
}
.synthesis-variation.positive {
  background: #e8f5e9;
  color: #2e7d32;
}
.synthesis-variation.negative {
  background: #ffebee;
  color: #c62828;
}

/* Meta info (ISIN, Ticker) */
.synthesis-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 8px;
}
.synthesis-isin {
  font-size: 12px;
  color: #666;
  font-family: monospace;
}
.synthesis-ticker {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #1d1d1d;
  padding: 2px 8px;
  border-radius: 3px;
}
.synthesis-market {
  font-size: 12px;
  color: #006fb7;
  margin-bottom: 5px;
}
.synthesis-update {
  font-size: 11px;
  color: #999;
}

/* Colonne droite: Grille de donnees */
.synthesis-right {
  flex: 1;
}
.synthesis-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.synthesis-item {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border-bottom: 1px solid #f0f2f5;
  border-right: 1px solid #f0f2f5;
}
.synthesis-item:nth-child(4n) {
  border-right: none;
}
.synthesis-item:nth-last-child(-n + 4) {
  border-bottom: none;
}
.synthesis-item .s-label {
  font-size: 11px;
  color: #555;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}
.synthesis-item .s-value {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}
.synthesis-item .s-value.s-text {
  font-weight: 600;
  font-size: 13px;
  color: #333;
}

/* Badges PEA */
.badge-pea,
.badge-pea-pme {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 3px;
  margin-right: 5px;
}
.badge-pea {
  background: #e3f2fd;
  color: #1565c0;
}
.badge-pea-pme {
  background: #f3e5f5;
  color: #7b1fa2;
}

/* Responsive synthese */
@media (max-width: 900px) {
  .bourse-synthesis {
    flex-direction: column;
    padding: 20px;
  }
  .synthesis-left {
    flex: none;
    border-right: none;
    border-bottom: 1px solid #e5e8eb;
    padding-right: 0;
    padding-bottom: 20px;
    margin-bottom: 15px;
  }
  .synthesis-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .synthesis-item:nth-child(4n) {
    border-right: 1px solid #f0f2f5;
  }
  .synthesis-item:nth-child(2n) {
    border-right: none;
  }
}

@media (max-width: 500px) {
  .synthesis-price {
    font-size: 32px;
  }
  .synthesis-identity h1 {
    font-size: 18px;
  }
}

/* ================================
   ANCIEN EN-TETE (gardé pour compat)
   ================================ */

/* En-tete compact avec prix */
.bourse-header-compact {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #fff;
  padding: 20px 25px;
  border-radius: 6px;
  margin-bottom: 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.bourse-identity {
  flex: 1;
}
.bourse-breadcrumb {
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
}
.bourse-breadcrumb a {
  color: #888;
  text-decoration: none;
}
.bourse-breadcrumb a:hover {
  color: #1d1d1d;
}
.bourse-identity h1 {
  font-size: 24px;
  font-weight: 700;
  color: #1d1d1d;
  margin: 0 0 5px 0;
}
.ticker-badge {
  display: inline-block;
  background: #1d1d1d;
  color: #fff;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 3px;
  margin-left: 10px;
  vertical-align: middle;
}
.bourse-meta {
  font-size: 13px;
  color: #666;
}
.bourse-meta .separator {
  margin: 0 8px;
  color: #ccc;
}

/* Prix compact */
.bourse-price-compact {
  text-align: right;
  min-width: 180px;
}
.price-main-compact {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 5px;
}
.bourse-price-compact .price-value {
  font-size: 36px;
  font-weight: 700;
  color: #1d1d1d;
  line-height: 1;
}
.bourse-price-compact .price-currency {
  font-size: 16px;
  color: #666;
}
.bourse-price-compact .price-variation {
  font-size: 15px;
  margin-top: 3px;
}
.price-variation.positive {
  color: #2e7d32;
}
.price-variation.negative {
  color: #c62828;
}
.bourse-price-compact .price-date {
  font-size: 11px;
  color: #999;
  margin-top: 5px;
}

/* Bande de cotation horizontale */
.bourse-quotation-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  margin-bottom: 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  align-items: center;
}
.quotation-item {
  display: flex;
  flex-direction: column;
  padding: 5px 15px;
  min-width: 90px;
}
.quotation-item .q-label {
  font-size: 10px;
  color: #555;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 2px;
}
.quotation-item .q-value {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
}
.quotation-separator {
  width: 1px;
  height: 35px;
  background: #e0e0e0;
  margin: 0 5px;
}

/* Sections avec header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: #f0f2f5;
  border-radius: 6px 6px 0 0;
  border-bottom: 1px solid #ddd;
}
.section-header h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
}
.section-subtitle {
  font-size: 12px;
  color: #555;
}

/* Graphique - Liens externes */
.bourse-chart-section {
  background: #fff;
  border-radius: 6px;
  margin-bottom: 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.chart-external-links {
  padding: 30px 20px;
  text-align: center;
}
.chart-external-links p {
  font-size: 14px;
  color: #333;
  margin: 0 0 20px 0;
}
.chart-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
.chart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}
.chart-btn-icon {
  font-size: 18px;
}
.chart-btn-tradingview {
  background: #2962ff;
  color: #fff;
}
.chart-btn-tradingview:hover {
  background: #1e4bd8;
}
.chart-btn-boursorama {
  background: #0066cc;
  color: #fff;
}
.chart-btn-boursorama:hover {
  background: #0052a3;
}
.chart-btn-euronext {
  background: #1a1a1a;
  color: #fff;
}
.chart-btn-euronext:hover {
  background: #333;
}

/* Performance compacte */
.bourse-performance-section {
  background: #fff;
  border-radius: 6px;
  margin-bottom: 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.performance-grid-compact {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  padding: 15px;
  gap: 10px;
}
.perf-item-compact {
  text-align: center;
  padding: 10px 5px;
  background: #f9f9f9;
  border-radius: 4px;
}
.perf-label {
  display: block;
  font-size: 11px;
  color: #888;
  font-weight: 600;
  margin-bottom: 5px;
}
/* Classes de couleur pour variations */
.perf-variation.positive {
  color: #2e7d32;
}
.perf-variation.negative {
  color: #c62828;
}

/* Section 2 colonnes : Carnet + Performance */
.bourse-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
  align-items: start;
}

/* Carnet d'ordres compact */
.bourse-orderbook-compact {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.section-header-small {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background: #f0f2f5;
  border-bottom: 1px solid #ddd;
}
.section-header-small h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
}
.orderbook-spread {
  font-size: 11px;
  color: #444;
}
.orderbook-spread strong {
  color: #1a1a1a;
}
.orderbook-mini-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
}
.orderbook-mini-side {
  min-width: 0;
}
.orderbook-mini-header {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  padding: 4px;
  margin-bottom: 5px;
  border-radius: 3px;
}
.orderbook-mini-header.bid-title {
  color: #2e7d32;
  background: rgba(46, 125, 50, 0.1);
}
.orderbook-mini-header.ask-title {
  color: #c62828;
  background: rgba(198, 40, 40, 0.1);
}
.orderbook-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.orderbook-mini-table th {
  padding: 4px 3px;
  text-align: right;
  font-size: 10px;
  color: #444;
  font-weight: 700;
  border-bottom: 1px solid #ccc;
}
.orderbook-mini-table td {
  padding: 4px 3px;
  text-align: right;
  font-size: 12px;
  color: #1a1a1a;
}
/* Colonnes: Bid = Ord, Qte, Prix, Bar | Ask = Bar, Prix, Qte, Ord */
.orderbook-bid .orderbook-mini-table td.col-price {
  font-weight: 700;
  color: #2e7d32;
}
.orderbook-ask .orderbook-mini-table td.col-price {
  font-weight: 700;
  color: #c62828;
}
.orderbook-mini-table td.col-orders {
  font-size: 10px;
  color: #888;
}
.orderbook-mini-table td.col-qty {
  font-weight: 600;
}
.orderbook-mini-table td.col-bar {
  width: 50px;
  padding: 2px;
}
.orderbook-mini-total {
  text-align: center;
  font-size: 10px;
  color: #444;
  padding: 5px 0;
  border-top: 1px solid #ddd;
  margin-top: 5px;
  font-weight: 600;
}
.orderbook-mini-footer {
  text-align: center;
  padding: 6px;
  border-top: 1px solid #ddd;
  color: #666;
  font-size: 10px;
  background: #f0f2f5;
}
.orderbook-mini-table .loading {
  text-align: center;
  color: #999;
  padding: 10px;
}

/* Barres de volume */
.volume-bar {
  height: 12px;
  border-radius: 2px;
  min-width: 2px;
}
.bid-bar {
  background: linear-gradient(
    90deg,
    rgba(46, 125, 50, 0.2) 0%,
    rgba(46, 125, 50, 0.5) 100%
  );
  margin-left: auto;
}
.ask-bar {
  background: linear-gradient(
    90deg,
    rgba(198, 40, 40, 0.5) 0%,
    rgba(198, 40, 40, 0.2) 100%
  );
}

/* Performance compact - Liste style Boursorama */
.bourse-performance-compact {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.perf-list-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.perf-list-table th {
  padding: 6px 8px;
  text-align: left;
  font-size: 10px;
  color: #333;
  font-weight: 700;
  text-transform: uppercase;
  background: #e8ebef;
  border-bottom: 1px solid #ccc;
}
.perf-list-table th:nth-child(2),
.perf-list-table th:nth-child(3),
.perf-list-table th:nth-child(4) {
  text-align: right;
}
.perf-list-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #e0e0e0;
  line-height: 1;
  vertical-align: middle;
  height: 36px;
}
.perf-list-table tr:last-child td {
  border-bottom: none;
}
.perf-list-table tr:nth-child(even) {
  background: #fafbfc;
}
.perf-list-table .perf-period {
  color: #1a1a1a;
  font-weight: 600;
  font-size: 13px;
}
.perf-list-table .perf-variation {
  text-align: right;
  font-weight: 700;
  font-size: 13px;
}
.perf-list-table .perf-low {
  text-align: right;
  color: #b71c1c;
  font-size: 13px;
  font-weight: 600;
}
.perf-list-table .perf-high {
  text-align: right;
  color: #1b5e20;
  font-size: 13px;
  font-weight: 600;
}

/* Footer info */
.bourse-footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 15px 20px;
  background: #fff;
  border-radius: 6px;
  font-size: 12px;
  color: #444;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.bourse-footer-info strong {
  color: #1a1a1a;
}

/* Responsive */
@media (max-width: 900px) {
  .bourse-header-compact {
    flex-direction: column;
    gap: 15px;
  }
  .bourse-price-compact {
    text-align: left;
  }
  .price-main-compact {
    justify-content: flex-start;
  }
  .performance-grid-compact {
    grid-template-columns: repeat(4, 1fr);
  }
  .bourse-quotation-bar {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .bourse-two-columns {
    grid-template-columns: 1fr;
  }
  .performance-mini-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 600px) {
  .bourse-identity h1 {
    font-size: 20px;
  }
  .ticker-badge {
    display: block;
    margin: 8px 0 0 0;
    width: fit-content;
  }
  .performance-mini-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bourse-quotation-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .quotation-item {
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
    padding: 8px 0;
  }
  .quotation-item .q-label {
    margin-bottom: 0;
  }
  .quotation-separator {
    display: none;
  }
  .bourse-footer-info {
    flex-direction: column;
    gap: 8px;
  }
}

/* ================================
   LANGUAGE SWITCHER - Toggle animé
   ================================ */

.fakeheader-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.lang-switcher {
  margin-left: auto;
}

/* Toggle switch style */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: #e8e8e8;
  border-radius: 25px;
  padding: 4px;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}
.lang-toggle:hover {
  background: #ddd;
  text-decoration: none;
}
.lang-option {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  border-radius: 20px;
  transition: all 0.3s ease;
  z-index: 2;
  position: relative;
}
.lang-option img {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.lang-option.active {
  color: #fff;
}
.lang-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: #1d1d1d;
  border-radius: 20px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}
/* Si EN est actif, slider à droite */
.lang-toggle:has(.lang-en.active) .lang-slider {
  transform: translateX(100%);
}
/* Fallback pour navigateurs sans :has() */
.lang-en.active ~ .lang-slider,
.lang-toggle .lang-en.active + .lang-slider {
  transform: translateX(0);
}
/* Hover effect */
.lang-toggle:hover .lang-slider {
  background: #333;
}

@media (max-width: 600px) {
  .fakeheader-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .lang-switcher {
    margin-left: 0;
    margin-top: 10px;
  }
  .lang-option {
    padding: 6px 10px;
    font-size: 11px;
  }
  .lang-option img {
    width: 16px;
    height: 11px;
  }
}

/* ================================
   INFORMATIONS REGLEMENTEES BADGES
   ================================ */

.info-reg-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 12px 0;
}

.info-reg-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  background: #1d1d1d;
  color: #fff;
}

/* Container des filtres */
.info-reg-filters-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin: 20px 0;
  padding: 0;
}

.info-reg-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  width: 100%;
  align-items: center;
}

.info-reg-filter-row.search-row {
  flex-wrap: nowrap;
  align-items: center;
  padding: 0;
  margin: 0;
  gap: 10px;
  height: 42px;
}

.info-reg-filter-row.search-row > .search-input-wrapper {
  flex: 1;
  padding: 0;
  margin: 0;
  height: 100%;
}

.info-reg-filter-row.filters-row {
  flex-wrap: nowrap;
  align-items: flex-start;
}

/* Filtre de categories */
.info-reg-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0;
  background: transparent;
  flex: 1;
  min-width: 200px;
  align-items: center;
}

.info-reg-filter-title {
  font-size: 13px;
  font-weight: 700;
  color: #1d1d1d;
  white-space: nowrap;
  margin-right: 10px;
}

/* Type filter - titre et boutons alignés */
.type-filter {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.type-filter .info-reg-filter-title {
  flex-shrink: 0;
}

.info-reg-filter a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #1d1d1d;
  background: #fff;
  border: 1px solid #1d1d1d;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.15s linear;
  cursor: pointer;
  font-family: inherit;
}

.type-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Type buttons - même style que les badges */
.info-reg-filter button.type-btn {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: inherit;
}

.info-reg-filter button.type-btn.active {
  background: #1d1d1d;
  color: #fff;
}

.info-reg-filter button.type-btn:not(.active) {
  background: #e8e8e8;
  color: #666;
}

.info-reg-filter button.type-btn:not(.active):hover {
  background: #ddd;
  color: #333;
}

/* Croix de suppression sur les filtres actifs */
.type-btn .btn-remove {
  margin-left: 8px;
  font-weight: 400;
  opacity: 0.7;
}

.type-btn:hover .btn-remove {
  opacity: 1;
}

/* Boutons Tous/Aucun */
.type-btn-action {
  display: inline-block;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid #999;
  border-radius: 20px;
  background: transparent;
  color: #666;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.type-btn-action:hover {
  background: #1d1d1d;
  color: #fff;
  border-color: #1d1d1d;
}

.type-separator {
  color: #ccc;
  margin: 0 8px;
  font-size: 14px;
}

.clear-filters {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: #666 !important;
  background: transparent !important;
  border: none !important;
  text-decoration: underline !important;
  padding: 0 !important;
}

.clear-filters:hover {
  color: #1d1d1d !important;
  background: transparent !important;
}

.info-reg-filter a:hover {
  background: #1d1d1d;
  border-color: #1d1d1d;
  color: #b99d61;
  text-decoration: none;
}

.info-reg-filter a.active {
  background: #1d1d1d;
  border-color: #1d1d1d;
  color: #b99d61;
}

/* Filtre exercice fiscal */

.fiscal-year-filter .info-reg-filter-title {
  margin-bottom: 8px;
}

.fiscal-year-filter select {
  width: 100%;
  min-width: 180px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #1d1d1d;
  background: #fff;
  border: 1px solid #1d1d1d;
  border-radius: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231d1d1d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 35px;
}

.fiscal-year-filter select:hover,
.fiscal-year-filter select:focus {
  background: #1d1d1d;
  color: #b99d61;
  outline: none;
}

/* Type filter - 90% largeur */
.type-filter {
  flex: 1 1 0;
  min-width: 0;
}

/* Search filter - inline compact */
.info-reg-filter.search-filter {
  flex: 1;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 10px;
  padding: 0 !important;
  background: transparent;
  min-width: 0;
}

.info-reg-filter.search-filter > .info-reg-filter-title {
  flex-shrink: 0;
  width: auto;
  margin: 0 !important;
  padding: 0;
  white-space: nowrap;
}

.info-reg-filter.search-filter > .search-input-wrapper {
  flex: 1;
}

/* Fiscal year filter - largeur minimale */
.fiscal-year-filter {
  flex: 0 0 auto;
  min-width: 180px;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
}

.search-icon {
  display: none;
}

.search-input-wrapper input {
  width: 100%;
  padding: 6px 30px 6px 32px;
  font-size: 13px;
  font-weight: 400;
  color: #1d1d1d;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cpath d='m21 21-4.35-4.35'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 10px center;
  background-size: 16px 16px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.search-input-wrapper input:focus {
  outline: none;
  background-color: #fff;
  border-color: #1d1d1d;
}

.search-input-wrapper input::placeholder {
  color: #999;
}

.clear-search {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 16px;
  color: #999;
  cursor: pointer;
  padding: 0 5px;
  line-height: 1;
}

.clear-search:hover {
  color: #1d1d1d;
}

/* Single type view - recherche et fiscal year sur même ligne */
.single-type-view .search-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.single-type-view .search-filter {
  flex: 1;
  display: flex;
  align-items: center;
}

.single-type-view .fiscal-year-filter {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0;
  background: transparent;
}

.single-type-view .fiscal-year-filter .info-reg-filter-title {
  width: auto;
  margin-bottom: 0;
  margin-right: 10px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .info-reg-filter-row.filters-row {
    flex-wrap: wrap;
  }
  .type-filter,
  .fiscal-year-filter {
    flex: 1 1 100%;
  }
}

@media (max-width: 600px) {
  .info-reg-badges {
    margin: 6px 0 10px 0;
  }
  .info-reg-badge {
    font-size: 10px;
    padding: 3px 8px;
  }
  .info-reg-filter {
    padding: 10px;
  }
  .info-reg-filter a,
  .type-btn {
    padding: 5px 10px;
    font-size: 11px;
  }
}
