/**
 * Bon'App V2 — Styles personnalisés
 * bonapp.guide | novonovo.io
 * 
 * Ce fichier contient tous les styles custom du projet.
 * DaisyUI/Tailwind pour les composants standards.
 * Ce fichier pour les overrides et styles spécifiques.
 */

/* ============================================================
   VARIABLES CSS — Design System Bon'App
   ============================================================ */
  @import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Inter+Tight:wght@400;500;600;700;800&display=swap");
:root {
    /* --- Couleurs principales --- */
    --color-primary:    #E8471A;  /* Orange brûlé — identité Bon'App */
    --color-primary-lt: #FDF0EA;  /* Orange pâle — fonds, badges */
    --color-primary-dk: #C23A14;  /* Orange foncé — hover */
    
    /* --- Couleurs neutres --- */
    --color-dark:       #1A1A1A;  /* Quasi-noir — textes principaux */
    --color-mid:        #6B7280;  /* Gris — textes secondaires */
    --color-light:      #9CA3AF;  /* Gris clair — placeholders */
    --color-border:     #E5E7EB;  /* Gris clair — bordures */
    --color-bg:         #FFFFFF;  /* Fond principal */
    --color-bg-alt:     #F9FAFB;  /* Fond alternatif — sections, rows */
    
    /* --- Couleurs accent --- */
    --color-prime:      #F5C842;  /* Or — badge Prime, accents premium */
    --color-prime:      #c7ff69;  /* Or — badge Prime, accents premium */
    --color-prime-lt:   #FEF9E7;  /* Or pâle — fonds Prime */
    --color-success:    #10B981;  /* Vert — succès, confirmations */
    --color-warning:    #F59E0B;  /* Orange — avertissements */
    --color-error:      #EF4444;  /* Rouge — erreurs */
    --color-info:       #3B82F6;  /* Bleu — informations */

    --black :            #1a1a1a ;
    
    /* --- Typographie --- */
    --font-body:        'Inter Tight', system-ui, sans-serif;
    --font-heading:     'DM Sans', Georgia, serif;
    
    /* --- Espacements et rayons --- */
    --radius-sm:        6px;
    --radius-card:      12px;
    --radius-btn:       8px;
    --radius-full:      9999px;
    
    /* --- Ombres --- */
    --shadow-sm:        0 1px 3px rgba(0,0,0,0.08);
    --shadow-md:        0 4px 12px rgba(0,0,0,0.10);
    --shadow-lg:        0 10px 25px rgba(0,0,0,0.12);
    
    /* --- Transitions --- */
    --transition-fast:  150ms ease;
    --transition-base:  250ms ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Titres avec police gastronomique --- */
h1, h2, h3, .font-heading {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
}

.bg-primary {
  background-color: var(--color-primary);
}


/* ============================================================
    BACKGROUND
   ============================================================ */


 .glass {
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.75),
        rgba(255,255,255,0.55)
    );
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 0px 0px 10px 10px;
    box-shadow:inset 0 1px 1px rgba(255,255,255,0.3), 0 8px 32px rgba(250,250,250,0.1);
}


.to-yellow-500 {
  --tw-gradient-to: #c7ff69 var(--tw-gradient-to-position) !important;
}
.from-yellow-400 {
  --tw-gradient-from: #98ca42 var(--tw-gradient-from-position) !important;
  --tw-gradient-to: rgb(250 204 21 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-primary {--tw-gradient-to: #E8471A var(--tw-gradient-to-position) !important;}


.to-primary-dark {--tw-gradient-from: #C23A14 var(--tw-gradient-from-position) !important;}



.prime-cta {border-radius: var(--radius-btn);
    font-weight: 600;
    border: 1px solid var(--color-dark);
    transition: 0.4s all ease-in-out;
    box-shadow: 8px 8px 0px var(--color-dark);}


/* ============================================================
   COMPOSANTS CUSTOM — Boutons
   ============================================================ */

.btn {border: none;}

.btn-primary {
background-color: var(--color-primary);
  color: white;
  border-radius: var(--radius-btn);
  transition: 0.2s all ease
  border: 1px solid var(--color-primary);
  box-shadow: 3px 3px 0px #e5e5e5;
}

.btn-primary:hover {
    background-color: var(--color-primary-dk);
    transform: scale(0.99);
    border: 1px solid var(--color-primary-dk);
}

.btn-prime {
    background-color: var(--color-prime);
    color: var(--color-dark);
    border-radius: var(--radius-btn);
    font-weight: 600;
    border: 1px solid var(--color-dark);
    transition: 0.4s all ease-in-out;
    box-shadow: 3px 3px 0px var(--color-dark);
}

.btn-prime:hover {
    background-color: #0fb160;
    box-shadow: 1px 2px 0px var(--color-dark);
    border: 1px solid var(--color-dark);
    transform: scale(0.99);
}


.btn-ghost:hover {background: transparent; opacity: 0.7; transform: scale(0.96);}

.navbar-logo {transition: 0.5s all ease;}
.navbar-logo:hover {    transform: scale(0.96);}

/* ============================================================
   COMPOSANTS CUSTOM — Badges
   ============================================================ */

.badge-prime {
    background-color: var(--color-prime);
    color: var(--color-dark);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-full);
}

.badge-new {
    background-color: var(--color-primary);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-full);
}

.badge-featured {
    background-color: var(--color-primary-lt);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-full);
}

/* ============================================================
   COMPOSANTS CUSTOM — Cards Restaurant
   ============================================================ */

.restaurant-card {
    background: var(--color-bg);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.restaurant-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.restaurant-card-image {
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
}

.restaurant-card-content {
    padding: 1rem;
}

.restaurant-card-title {
  font-family: var(--font-heading);
  font-size: 1.165rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
  letter-spacing: -0.6px;
}

.restaurant-card-category {
    color: var(--color-mid);
    font-size: 0.875rem;
}

 .rating{display:inline-flex;align-items:center;gap:.5rem;font:600 14px/1.1 system-ui,-apple-system,"Segoe UI",Roboto,Arial; background: #ffffffe3;
  border-radius: 10px;
  margin-top: 10px;}
  .rating-value{padding:.2rem .4rem;border:1px solid #e5e7eb;border-radius:.5rem}
  .stars{display:inline-flex}
  .star{width:20px;height:20px;color:#fbbf24}
  .star--full{color:#fbbf24}           /* or #FFC107 */
  .star--full path {
  fill: #fbbf24; /* jaune doré */
}

.max-250 {max-width: 250px;}
  .star--partial{color:#fbbf24}
  :root{--star-empty:#e5e7eb}
 .ratingbuy .rating {background: #f2f2f0;
  padding: 3px 0px;
  margin-top: -20px;}

/* --- Prix (€ à €€€€) --- */
.price-range {
    color: var(--color-mid);
    font-size: 0.875rem;
}

.price-range .active {
    color: var(--color-primary);
    font-weight: 600;
}

/* ============================================================
   COMPOSANTS CUSTOM — Navigation
   ============================================================ */

.navbar-bonapp {
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.navbar-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.nav-link {
    color: var(--color-dark);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link.active {
    color: var(--color-primary);
}

/* ============================================================
   COMPOSANTS CUSTOM — Formulaires
   ============================================================ */

.form-input {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-btn);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-lt);
}

.form-label {
    font-weight: 500;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.form-error {
    color: var(--color-error);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* ============================================================
   COMPOSANTS CUSTOM — Alertes / Toasts
   ============================================================ */

.alert {
    padding: 1rem;
    border-radius: var(--radius-btn);
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.alert-error {
    background-color: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.alert-warning {
    background-color: #FEF3C7;
    color: #92400E;
    border: 1px solid #FDE68A;
}

.alert-info {
    background-color: #DBEAFE;
    color: #1E40AF;
    border: 1px solid #BFDBFE;
}

/* ============================================================
   COMPOSANTS CUSTOM — Rating (étoiles)
   ============================================================ */


 .rating-stars {
  display: inline-flex;
  gap: 0.025rem;
  color: orange;
  font-size: 110%;

}

.rating-stars .star {
    color: var(--color-border);
}

.rating-stars .star.filled {
    color: var(--color-prime);
}

.user-review {
  font-size: 89%;
  font-style: italic;
  line-height: 1.4;
  background: linear-gradient(90deg,rgb(253, 248, 248) 0%, rgb(255, 255, 255) 100%);
  padding: 10px;
  border-radius: 10px;
}

/* ============================================================
   LAYOUTS — Sections
   ============================================================ */

.section {
    padding: 3rem 0;
}

.section-alt {
    background-color: var(--color-bg-alt);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -1.9px;
    margin-bottom: 0px !important;
}

.section-subtitle {
    color: var(--color-mid);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* ============================================================
   LAYOUTS — Container
   ============================================================ */

.container-bonapp {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container-bonapp {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container-bonapp {
        padding: 0 2rem;
    }
}

/* ============================================================
   LAYOUTS — Grid Restaurant
   ============================================================ */

.restaurant-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .restaurant-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .restaurant-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================================
   LAYOUTS — Admin / Owner Sidebar
   ============================================================ */

.sidebar {
    width: 260px;
    background-color: var(--color-bg);
    border-right: 1px solid var(--color-border);
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.sidebar-nav {
    padding: 1rem 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: var(--color-dark);
    font-weight: 500;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.sidebar-link:hover {
    background-color: var(--color-bg-alt);
    color: var(--color-primary);
}

.sidebar-link.active {
    background-color: var(--color-primary-lt);
    color: var(--color-primary);
    border-right: 3px solid var(--color-primary);
}

.main-content {
    margin-left: 260px;
    padding: 2rem;
    min-height: 100vh;
    background-color: var(--color-bg-alt);
}

@media (max-width: 1023px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform var(--transition-base);
        z-index: 50;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
}

/* ============================================================
   DATATABLES — Overrides
   ============================================================ */

.dataTables_wrapper {
    font-family: var(--font-body);
}

.dataTables_wrapper .dataTables_filter input {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-btn);
    padding: 0.5rem 0.75rem;
    margin-left: 0.5rem;
}

.dataTables_wrapper .dataTables_filter input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-lt);
}

table.dataTable {
    border-collapse: collapse;
    width: 100%;
}

table.dataTable thead th {
    background-color: var(--color-bg-alt);
    color: var(--color-dark);
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid var(--color-border);
    text-align: left;
}

table.dataTable tbody td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-border);
    vertical-align: middle;
}

table.dataTable tbody tr:hover {
    background-color: var(--color-bg-alt);
}

/* ============================================================
   UTILITAIRES
   ============================================================ */

.text-primary {
    color: var(--color-primary);
}

.text-prime {
    color: var(--color-prime);
}

.text-muted {
    color: var(--color-mid);
}

.bg-primary-lt {
    background-color: var(--color-primary-lt);
}

.bg-prime-lt {
    background-color: var(--color-prime-lt);
}

/* --- Truncate text --- */
.truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Aspect ratio pour images --- */
.aspect-4-3 {
    aspect-ratio: 4/3;
}

.aspect-16-9 {
    aspect-ratio: 16/9;
}

/* ============================================================
   CHECKBOX PEER STYLES — Pour les jours de la semaine, etc.
   ============================================================ */

/* Style pour les labels avec checkbox hidden peer */
.peer:checked + label,
.peer:checked ~ label,
input[type="checkbox"].peer:checked + *,
input[type="checkbox"]:checked + label {
    background-color: var(--color-primary) !important;
    color: white !important;
    border-color: var(--color-primary) !important;
}

/* Style spécifique pour les boutons de jours */
input.hidden.peer:checked + label {
    background-color: var(--color-primary) !important;
    color: white !important;
    border-color: var(--color-primary) !important;
    box-shadow: 0 2px 4px rgba(232, 71, 26, 0.3);
}

/* Hover state pour les labels */
input.hidden.peer + label:hover {
    background-color: var(--color-primary-lt);
    border-color: var(--color-primary);
}

/* Tailwind peer-checked compatibility */
.peer:checked ~ .peer-checked\:bg-primary {
    background-color: var(--color-primary) !important;
}

.peer:checked ~ .peer-checked\:text-white {
    color: white !important;
}

.peer:checked ~ .peer-checked\:border-primary {
    border-color: var(--color-primary) !important;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.animate-fadeIn {
    animation: fadeIn var(--transition-base) ease-out;
}

.animate-slideUp {
    animation: slideUp var(--transition-base) ease-out;
}





/* ============================================================
PUBLIC
============================================================ */





/* Slider styles */
.restaurant-slider {
    position: relative;
}
.slider-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.5rem 0;
}
.slider-track::-webkit-scrollbar {
    display: none;
}
.slider-card {
    scroll-snap-align: start;
}

/* Mobile filter popup */
@media (max-width: 1023px) {
    .sidebar-filters-desktop { display: none; }
}

/* Mobile sticky horizontal scroll */
@media (max-width: 768px) {
    #search-bar-sticky .flex-wrap {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 0.5rem;
    }
    #search-bar-sticky .flex-wrap::-webkit-scrollbar {
        display: none;
    }
    
    /* Tags horizontal scroll on mobile */
    .tags-scroll-mobile {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 0.5rem;
        padding-bottom: 0.25rem;
    }
    .tags-scroll-mobile::-webkit-scrollbar {
        display: none;
    }
    .tags-scroll-mobile .badge {
        flex-shrink: 0;
    }

    .slider-card {
    min-width:330px
}
}

/* Lightbox gallery */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}
.lightbox-caption {
    text-align: center;
    color: white;
    padding: 1rem;
    font-size: 0.875rem;
}
.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000;
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 3rem;
    cursor: pointer;
    padding: 1rem;
    user-select: none;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }


/* ============================================================
CUSTOM CODE
============================================================ */
   
.prime-txt img {
  width: 100%;
  max-width: 40px;
}

.prime-txt-2 img {
  width: 100%;
  max-width: 120px;
}
.margin-auto, .margin-auto img {margin: auto;}

.badge-prime .prime-txt {
  width: 100%;
  max-width: 30px;
  display:block
}

.title_offre_prime {
letter-spacing: -1px;
  text-transform: uppercase;

}

.bg-home {
  background-image: url(../img/banner.webp);
  background-position: center;
  border-radius: 30px;    
  width: 94%;
  margin: auto;
  background-size: cover;
}

.bg-coupon {
  background-color: rgba(255, 255, 255, 0.7);
  border: 2px dotted #3ca416;
}

.bg-resto{
    border-radius: 30px;
  width: 94%;
  margin: auto;
}
.bg-resto img, .bg-resto .to-transparent {
    border-radius: 30px;
}
.logo-resto {
    border-radius: 50% !important;
}
.text-prime {
  color: #86b13c;
}

.avatar > div {
  padding-top: 12px;
}

.badge-xs {padding: .5rem !important;}
.none {display: none !important;}

.story-icn {
  transform: scale(0.85);
}

.ring-primary {
  --tw-ring-color: var(--fallback-p,rgb(255, 96, 0));
}

.badge-resto {
  opacity: 0.7;
  border-color: #999;
}

.ednote .prose {
  background: #f2f2f2;
  padding: 10px;
  border-radius: 10px;
}

.small-rep {
font-size: 10px !important;
  line-height: 1 !important;

}



.nav_owner  .sidebar-link   {font-size: 13px;padding: 0.55rem 1.5rem;}
.nav_owner .w-5 {  width: 1rem;}

.owner .main-content {
  background-color: #D8D2CC36;
}


.header-owner  {
  border-radius: 50px !important;
  height: auto;
  padding-top: 13px !important;
}
.header-owner h1 {
font-size: 29px;
  padding-left: 0px;
  letter-spacing: -1.51px;
  font-weight: 800;
  text-shadow: 1px 1px 0px #fff, 2px 2px 0px #bab2ab;
}
.menusection {color: var(--color-primary) !important;
  letter-spacing: -0.5px !important;
  margin-bottom: 10px !important;
  padding-bottom: 4px  !important;}

.title-home {color: #fff !important;
  font-size: 9.8vh !important;
  text-transform: none;
  line-height: 1em !important;
  max-width: 1130px;
  margin: auto;
  text-shadow: 2px 2px 0px #fe611d, 4px 4px 0px #fe611d, 6px 6px 0px #fb7a44;
  letter-spacing: -3px;}

  .btn-bigtext {font-size: 115%;}

  .w-150 {width:150px}
  .w-130 {width:130px}



.caterogie-select .material-symbols-outlined {
  font-weight: 100;
  font-size: 50px;
}

#search-bar-sticky.top-16 {
  top: 3.3rem;
  padding: 0px !important;
}

.p-640 {
  padding: 6px 40px;
}

[x-cloak] {
  display: none !important;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}



#reservation-card{
  box-shadow: 0px 0px 20px #e5e5e5;
  border: 1px solid var(--color-dark);
  transition: 0.4s all ease-in-out;
  box-shadow: 8px 8px 0px #8A8A8A;
}


#reservation-card .p-6 {
  padding: 1.5rem;
  padding-top: 0;
}

 .bookhead {
  text-align: center;
  padding: 10px 20px;
  background: #222;
  color: #fff;
}

.btn-time {
  background: oklch(0.648 0.15 160 / 0.2) !important;
  border: 1px solid #e5e5e5 !important;
  color: #222 !important;
  transition: 0.2s all ease;
}
.btn-time:hover {
  background: var(--color-primary-dk) !important;
  border: 1px solid var(--color-primary-dk) !important;
  color: #222 !important;
}
#reservation-card .btn-circle {border: 1px solid #ccc;}

#reservation-card .btn-back
{
  width: 100%;
  text-align: left;
  border: 1px solid #e5e5e5;
  font-size: 12px;
}

.text-link {font-weight:500; opacity: 0.8;}
.transf-scale70 {transform: scale(0.70);}
.btn-60 {padding: 0px 30px;}

.newsletter-title {
  max-width: 530px;
  line-height: 1;
  font-size: 27px !important;
  margin: auto;
  text-shadow: rgb(254, 80, 29) 1px 1px 0px, rgb(254, 97, 29) 2px 2px 0px, rgb(251, 122, 68) 3px 3px 0px;
}

.bg-footer {
  --tw-bg-opacity: 1;
  background-color: rgb(17, 17, 17);
}
.bg-footer a {font-size:90%}
.appfooter .max120 {width: 100%; max-width:120px; transition: 0.3s all ease;}
.appfooter .max120:hover {transform: scale(0.97);}


 .mobile-menu{
  background: linear-gradient( 135deg, rgba(255,255,255,0.75), rgba(255,255,255,0.55) );
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 0px 0px 10px 10px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.3), 0 8px 32px rgba(250,250,250,0.1);
  height: 100vh;
  padding: 0px 11px;
  border-radius: 10px;
  margin-top: 20px;
}


.menu-mob-link {margin-top:30px}

.to-secondary\/10 {
  --tw-gradient-to: var(--fallback-p,rgba(255, 131, 0, 0.34)) var(--tw-gradient-from-position) !important;
}
.from-primary\/10 {
  --tw-gradient-from: var(--fallback-p,rgba(255, 84, 0, 0.31)) var(--tw-gradient-from-position) !important;
  --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from),var(--tw-gradient-to);
}

.bg-primary\/10 {
  background-color: var(--fallback-p,rgba(255, 84, 0, 0.1))!important;
}
.hover\:text-primary:hover {
  color: var(--color-primary) !important
}

.blog-img {
  margin: auto;
  border-radius: 10px;
  max-width: 1450px;
}

.tabs-boxed :is(.tab-active, [aria-selected="true"]):not(.tab-disabled):not([disabled]), .tabs-boxed :is(input:checked) {
background-color: var(--color-primary);
 color: #fff;
}

.btn_log-mob {
  padding: 20px 20px 20px 20px;
  height: auto;
  font-size: 18px;
  margin-top: 30px;
}

.topsticky {top:52px !important}
.topsticky label span {font-size: 12px;}

h1 {
font-size: 29px;
  padding-left: 0px;
  letter-spacing: -1.51px;
  font-weight: 800;
  text-shadow: 1px 1px 0px #fff, 2px 2px 0px #ccc8c5;
}

.btn-filter {border:1px solid #666}
.small {font-size:80%}

.logo-list img {
  border-radius: 5px;
  margin-top: 20px;
  left: 13px;
  position: absolute;
  
}


.dataTables_filter  {
  padding: 9px;
  font-size: 10px;
}

/* ===== DataTables Pagination - Compact & Clean ===== */
.dataTables_paginate {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
    font-size: 0.85rem;
}

.dataTables_paginate .paginate_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    margin: 0 1px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #4b5563 !important;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none !important;
}

.dataTables_paginate .paginate_button:hover {
    background: #f3f4f6 !important;
    border-color: #d1d5db;
    color: #111827 !important;
}

.dataTables_paginate .paginate_button.current,
.dataTables_paginate .paginate_button.current:hover {
    background: #3b82f6 !important;
    border-color: #3b82f6;
    color: #fff !important;
    box-shadow: 0 1px 2px rgba(59, 130, 246, 0.3);
}

.dataTables_paginate .paginate_button.disabled,
.dataTables_paginate .paginate_button.disabled:hover {
    background: #f9fafb !important;
    border-color: #f3f4f6;
    color: #d1d5db !important;
    cursor: not-allowed;
}

.dataTables_paginate .paginate_button.previous,
.dataTables_paginate .paginate_button.next {
    font-weight: 600;
}

.dataTables_paginate .ellipsis {
    padding: 0 4px;
    color: #9ca3af;
}
.dataTables_info {display: none}
.buttons-excel  {
  float: right;
}

.owner input[type="checkbox"]:checked + label {
  background-color: var(--color-primary) !important;
  color: white !important;
  border-color: var(--color-primary) !important;
  padding: 5px;
  border-radius: 5px;
}




.is-app {padding-top:40px}
.is-app #main-nav {padding-top:40px}
.is-app #search-bar-sticky.top-16 { top: calc(3.3rem + 40px);  }
.is-app .fixed.bottom-0.left-0 {
  padding-bottom: 30px;
}

.is-app .story-nav {top:40px !important}
.is-app .story-close {top:50px !important}
.is-app .lightbox-close {top:50px !important}
.newsletter_form {padding: 80px 20px}

/* Scrollbar fine / masquée */
.scrollbar-thin { scrollbar-width: thin; scrollbar-color: #d1d5db transparent; }
.scrollbar-thin::-webkit-scrollbar { height: 4px; }
.scrollbar-thin::-webkit-scrollbar-track { background: transparent; }
.scrollbar-thin::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }
.scrollbar-hide { scrollbar-width: none; -ms-overflow-style: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }

.ring-2.ring-primary{background: url(/uploads/settings/favicon-1776354652.png);
    background-size: auto;}

.btn-outline.border{border : 1px solid #777}

.absolute-notification{
  position: absolute;
  right: 0;
  z-index: 100;
  min-width: 350px;
  top: 11px;
  box-shadow: 0px 0px 30px #e5e5e5;
}

.is-app .absolute-notification{
  top: 51px;
}
.absolute-notification .alert {margin-bottom: 0px;}

/* ============================================================
CUSTOM RESPONSIVE
============================================================ */

@media (max-width: 768px) {
.bg-footer {
  padding: 40px 20px;
}
    .title-home {color: #fff !important;
    font-size: 6vh !important;
    }
    .avatar-user img  {
  width: 35px;
  height: 35px;
}
.btn-log {display:none}
.newsletter_form {padding: 80px 20px}
  }



  @media (max-width: 450px) {

  .bg-home  {
  padding-top: 1.5rem;
  padding-bottom: 1rem;
}

.title-home {
    color: #fff !important;
    font-size: 5vh !important;
  }
.bg-footer a {
  font-size: 75%;
}


  }