/* ============================================================
   FLY LOCATION REUNION — Thème ADMIN 2026
   Surcharge moderne du back-office (barre latérale, tableaux,
   boutons, formulaires). Chargé APRÈS sidebar.css.
   ============================================================ */
:root{
  --a-indigo:#2c2a52;--a-indigo2:#3d3a6b;--a-teal:#1fb6a6;--a-teal-d:#0f8f82;
  --a-coral:#ff6b5c;--a-coral-d:#f0503f;--a-sun:#ffd166;--a-grey:#6b7280;
}

/* ---------- BARRE LATÉRALE ---------- */
.sidebar{
  background:linear-gradient(180deg,#2c2a52 0%,#22203f 100%) !important;
  box-shadow:2px 0 24px rgba(20,19,43,.25) !important;
}
.sidebar .logo-details{border-bottom:1px solid rgba(255,255,255,.08);}
.sidebar .logo-details i,.sidebar .logo-details .logo_name{
  font-family:'Poppins',sans-serif !important;color:#fff !important;font-weight:800 !important;
}
.sidebar .nav-links li a .link_name,
.sidebar .nav-links li .sub-menu a{font-family:'Poppins',sans-serif !important;font-weight:500 !important;}
.sidebar .nav-links li:hover{background:rgba(31,182,166,.16) !important;}
.sidebar .nav-links li a:hover .link_name,
.sidebar .nav-links li a:hover i{color:#fff !important;}
.sidebar .nav-links li .sub-menu{background:#211f3c !important;}
.sidebar .nav-links li .sub-menu a{color:#bfbde6 !important;}
.sidebar .nav-links li .sub-menu a:hover{color:var(--a-sun) !important;padding-left:4px;transition:.15s;}
.sidebar .nav-links li .sub-menu .link_name{color:#fff !important;}
.sidebar .profile-details{background:rgba(0,0,0,.22) !important;border-top:1px solid rgba(255,255,255,.08);}
.sidebar .profile-details .profile_name{font-family:'Poppins',sans-serif !important;font-weight:700 !important;color:#fff !important;}
.sidebar .profile-details .job{color:#8b88c9 !important;}
.sidebar .profile-details a i{color:#ff8577 !important;}

/* ---------- ZONE DE CONTENU ---------- */
.home-section{background:#f4f5fa !important;min-height:100vh;}
.home-content{padding:0 !important;}
.home-content > .bx-menu,.home-section .bx-menu{
  color:var(--a-indigo) !important;font-size:26px !important;margin:16px 0 0 18px !important;cursor:pointer;
}
/* Titre de page (span.text) transformé en bandeau */
.text{
  display:block;font-family:'Poppins',sans-serif !important;font-weight:700 !important;
  color:var(--a-indigo) !important;font-size:1.5rem !important;
  padding:18px 26px 18px !important;margin:0 !important;
}

/* Conteneur des pages en carte blanche */
.home-section .container{
  background:#fff;border-radius:16px;box-shadow:0 8px 24px rgba(44,42,82,.07);
  padding:24px !important;margin:0 22px 26px !important;max-width:none !important;
}

/* ---------- TABLEAUX ---------- */
.home-section table,.home-section table.dataTable,.home-section .table{
  width:100% !important;border-collapse:separate !important;border-spacing:0 !important;
  font-family:'Nunito',sans-serif;
}
.home-section table thead th,.home-section table.dataTable thead th{
  background:#f7f8fc !important;color:var(--a-indigo) !important;
  font-family:'Poppins',sans-serif !important;font-weight:600 !important;font-size:.85rem !important;
  border:none !important;border-bottom:2px solid #eef0f6 !important;padding:12px 16px !important;text-align:left;
}
.home-section table tbody td{
  padding:12px 16px !important;border:none !important;border-bottom:1px solid #f2f3f9 !important;
  font-size:.92rem !important;vertical-align:middle;color:#333;
}
.home-section table tbody tr:hover td{background:#fafbff !important;}
.home-section table img{border-radius:8px;}

/* DataTables : barre de recherche / pagination */
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select{
  border:1.5px solid #e3e6ef !important;border-radius:9px !important;padding:.4rem .7rem !important;outline:none;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current{
  background:var(--a-indigo) !important;color:#fff !important;border-radius:8px !important;border:none !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button{border-radius:8px !important;}

/* ---------- BOUTONS (surcharge des styles inline) ---------- */
.home-section .btn,.home-section button.btn,.home-section a.btn{
  background:linear-gradient(135deg,var(--a-teal),var(--a-teal-d)) !important;
  color:#fff !important;border:none !important;border-radius:10px !important;
  font-family:'Poppins',sans-serif !important;font-weight:600 !important;font-size:.9rem !important;
  padding:.6rem 1.2rem !important;box-shadow:0 6px 16px rgba(31,182,166,.28) !important;transition:.15s;
}
.home-section .btn:hover{transform:translateY(-1px);}
/* Bouton "Nouveau" / création en corail pour ressortir */
.home-section a[href*="_new"].btn,.home-section a[href*="new"].btn{
  background:linear-gradient(135deg,var(--a-coral),var(--a-coral-d)) !important;
  box-shadow:0 6px 16px rgba(255,107,92,.3) !important;
}

/* ---------- FORMULAIRES ---------- */
.home-section .form-control,.home-section .form-select,
.home-section input[type="text"],.home-section input[type="email"],
.home-section input[type="number"],.home-section input[type="date"],
.home-section input[type="password"],.home-section select,.home-section textarea{
  border:1.5px solid #e3e6ef !important;border-radius:10px !important;
  padding:.6rem .8rem !important;font-family:'Nunito',sans-serif !important;font-size:.95rem !important;
  background:#fafbff !important;outline:none !important;box-shadow:none !important;
}
.home-section .form-control:focus,.home-section select:focus,.home-section input:focus,.home-section textarea:focus{
  border-color:var(--a-teal) !important;background:#fff !important;
}
.home-section label,.home-section h6{font-family:'Poppins',sans-serif !important;font-weight:600 !important;color:var(--a-indigo) !important;}

/* Cartes bootstrap (réservations, catégories show) */
.home-section .card{border:1px solid #eef0f6 !important;border-radius:14px !important;box-shadow:0 6px 18px rgba(44,42,82,.06) !important;overflow:hidden;}
.home-section .card-header{background:var(--a-indigo) !important;color:#fff !important;font-family:'Poppins',sans-serif !important;font-weight:600 !important;border:none !important;}

/* Alertes */
.home-section .alert-success{background:#e2f7f1 !important;border:1px solid #b6e8dd !important;color:#0f6f64 !important;border-radius:10px !important;}
