
/* ========================================
   IziLife overrides for Phoenix CSS
   ======================================== */

:root {
      --blue: #007bff;
      --indigo: #6610f2;
      --purple: #6f42c1;
      --pink: #e83e8c;
      --red: #dc3545;
      --orange: #fd7e14;
      --yellow: #ffc107;
      --green: #28a745;
      --teal: #20c997;
      --cyan: #17a2b8;
      --white: #fff;
      --gray: #868e96;
      --gray-dark: #343a40;
      --primary: #1cb36e;
      --secondary: #48a3e0;
      --success: #28a745;
      --info: #17a2b8;
      --warning: #ffc107;
      --danger: #dc3545;
      --light: #f8f9fa;
      --dark: #343a40;
      --breakpoint-xs: 0;
      --breakpoint-sm: 576px;
      --breakpoint-md: 768px;
      --breakpoint-lg: 992px;
      --breakpoint-xl: 1200px;
      --font-family-sans-serif: "Poppins", sans-serif;
      --font-family-monospace: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

[data-bs-theme=dark] {
    --phoenix-body-bg: #1e1e2a; /* par exemple au lieu de #0f111a ou #141824 */
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
    display: block;
}

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--phoenix-body-color);             /* gère le texte selon le thème */
    background-color: var(--phoenix-body-bg);     /* gère le fond selon le thème */
    text-align: left;
}

[tabindex="-1"]:focus:not(:focus-visible) {
    outline: 0 !important;
}

.badge {
    display: inline-block;
    padding: 0.5em 0.7em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.4rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .badge {
        transition: none;
    }
}

a.badge:hover, a.badge:focus {
    text-decoration: none;
}

.badge:empty {
    display: none;
}

.btn .badge {
    position: relative;
    top: -1px;
}

.badge-pill {
  padding-right: 0.6em;
  padding-left: 0.6em;
  border-radius: 10rem;
}

.badge-primary {
  color: #fff;
  background-color: #1cb36e;
}

a.badge-primary:hover, a.badge-primary:focus {
  color: #fff;
  background-color: #158753;
}

a.badge-primary:focus, a.badge-primary.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(28, 179, 110, 0.5);
}

.badge-secondary {
  color: #fff;
  background-color: #48a3e0;
}

a.badge-secondary:hover, a.badge-secondary:focus {
  color: #fff;
  background-color: #238cd2;
}

a.badge-secondary:focus, a.badge-secondary.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(72, 163, 224, 0.5);
}

.badge-success {
  color: #fff;
  background-color: #28a745;
}

a.badge-success:hover, a.badge-success:focus {
  color: #fff;
  background-color: #1e7e34;
}

a.badge-success:focus, a.badge-success.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}

.badge-info {
  color: #fff;
  background-color: #17a2b8;
}

a.badge-info:hover, a.badge-info:focus {
  color: #fff;
  background-color: #117a8b;
}

a.badge-info:focus, a.badge-info.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
}

.badge-warning {
  color: #212529;
  background-color: #ffc107;
}

a.badge-warning:hover, a.badge-warning:focus {
  color: #212529;
  background-color: #d39e00;
}

a.badge-warning:focus, a.badge-warning.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}

.badge-danger {
  color: #fff;
  background-color: #dc3545;
}

a.badge-danger:hover, a.badge-danger:focus {
  color: #fff;
  background-color: #bd2130;
}

a.badge-danger:focus, a.badge-danger.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}

.badge-light {
  color: #212529;
  background-color: #f8f9fa;
}

a.badge-light:hover, a.badge-light:focus {
  color: #212529;
  background-color: #dae0e5;
}

a.badge-light:focus, a.badge-light.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
}

.badge-dark {
  color: #fff;
  background-color: #343a40;
}

a.badge-dark:hover, a.badge-dark:focus {
  color: #fff;
  background-color: #1d2124;
}

a.badge-dark:focus, a.badge-dark.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}

.badge-transparent {
  color: #212529;
  background: rgba(248, 249, 250, 0.9);
}

.navbar .dropdown-menu {
  overflow: visible;
  left: -0.5625rem;
}


.green-text {
  color: #1cb36e;
  background-color: transparent;
}

.categories-sticky {
    -webkit-position: sticky;
    position: sticky;
    z-index: 2;
    top:0
}

.text-primary {
  color: #1cb36e !important;
}

a.text-primary:hover, a.text-primary:focus {
  color: #127145 !important;
}

.text-secondary {
  color: #48a3e0 !important;
}

a.text-secondary:hover, a.text-secondary:focus {
  color: #207dbc !important;
}

.text-success {
  color: #28a745 !important;
}

a.text-success:hover, a.text-success:focus {
  color: #19692c !important;
}

.text-info {
  color: #17a2b8 !important;
}

a.text-info:hover, a.text-info:focus {
  color: #0f6674 !important;
}

.text-warning {
  color: #ffc107 !important;
}

a.text-warning:hover, a.text-warning:focus {
  color: #ba8b00 !important;
}

.text-danger {
  color: #dc3545 !important;
}

a.text-danger:hover, a.text-danger:focus {
  color: #a71d2a !important;
}

.text-light {
  color: #f8f9fa !important;
}

a.text-light:hover, a.text-light:focus {
  color: #cbd3da !important;
}

.text-white {
  color: var(--phoenix-emphasis-color) !important;
}

.text-dark {
  color: var(--phoenix-body-color) !important;
}

a.text-dark:hover, a.text-dark:focus {
  color: #121416 !important;
}

.text-body {
  color: #212529 !important;
}

.text-muted {
  color: #868e96 !important;
}

.text-black-50 {
  color: rgba(0, 0, 0, 0.5) !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.5) !important;
}

.text-hide {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.text-decoration-none {
  text-decoration: none !important;
}

.text-break {
  word-break: break-word !important;
  overflow-wrap: break-word !important;
}

.text-reset {
  color: inherit !important;
}

.visible {
  visibility: visible !important;
}

.invisible {
  visibility: hidden !important;
}

#around .inline-block a.badge {
  flex: none !important;
  width: auto !important;
}

.ui-autocomplete {
  z-index: 1055 !important; /* plus haut que modal (1050 par défaut) */
  background-color: #fff;
  border: 1px solid #ccc;
  max-height: 300px;
  overflow-y: auto;
  position: absolute;
}

.navbar-bottom .nav .nav-link.active {
    color: #1cb36e;;
}

.nav-justified .nav-item {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    text-align: center;
}
.text-sm {
    font-size: 0.875rem;
}
.nav-link {
    display: block;
    padding: 0.5rem 1rem;
}

.object-menu .nav-link:not(.badge-primary) {
    color: #1cb36e;
    text-decoration: none;
    background-color: transparent;
}

.badge-primary {
  color: #fff;
  background-color: #1cb36e;
}


a.badge-primary:hover, a.badge-primary:focus {
  color: #fff;
  background-color: #158753;
}

a.badge-primary:focus, a.badge-primary.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(28, 179, 110, 0.5);
}

.badge-light {
  color: #212529;
  background-color: #f8f9fa;
}

a.badge-light:hover, a.badge-light:focus {
  color: #212529;
  background-color: #dae0e5;
}

a.badge-light:focus, a.badge-light.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
}

.btn-primary {
  color: #fff;
  background-color: #1cb36e;
  border-color: #1cb36e;
}

.btn-primary:hover {
  color: #fff;
  background-color: #17925a;
  border-color: #158753;
}

.btn-primary:focus, .btn-primary.focus {
  color: #fff;
  background-color: #17925a;
  border-color: #158753;
  box-shadow: 0 0 0 0.2rem rgba(62, 190, 132, 0.5);
}

.btn-primary.disabled, .btn-primary:disabled {
  color: #fff;
  background-color: #1cb36e;
  border-color: #1cb36e;
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #158753;
  border-color: #137c4c;
}

.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(62, 190, 132, 0.5);
}

a {
  color: #1cb36e;
  text-decoration: none;
  background-color: transparent;
}

a:hover {
  color: #127145;
  text-decoration: underline;
}

a:not([href]) {
  color: inherit;
  text-decoration: none;
}

a:not([href]):hover {
  color: inherit;
  text-decoration: none;
}


.btn-outline-primary {
  color: #1cb36e;
  border-color: #1cb36e;
}

.btn-outline-primary:hover {
  color: #fff;
  background-color: #1cb36e;
  border-color: #1cb36e;
}

.btn-outline-primary:focus, .btn-outline-primary.focus {
  box-shadow: 0 0 0 0.2rem rgba(28, 179, 110, 0.5);
}

.btn-outline-primary.disabled, .btn-outline-primary:disabled {
  color: #1cb36e;
  background-color: transparent;
}

.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
  color: #fff;
  background-color: #1cb36e;
  border-color: #1cb36e;
}

.btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(28, 179, 110, 0.5);
}

#filtered-category-list li {
  list-style-type: disc;
  margin-left: 1.5rem; /* Pour l'indentation comme dans les autres */
}

#navbarDefault {
  position: sticky !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  transition: transform 0.3s ease;
  will-change: transform;
}
#navbarDefault.hide {
  transform: translateY(-100%);
}

.promo-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0 0 0 0.5rem;
  z-index: 10;
}

.ticket-card {
  position: relative;
}

.grouped-price-toggle {
    cursor: pointer;
    transition: color 0.2s ease;
}

.grouped-price-toggle:hover {
    color: #0d6efd; /* ou un vert si tu préfères rester dans ton thème */
    text-decoration: underline;
}

.ticket-description small {
    display: inline;
    white-space: normal;
}

.ticket-description .toggle-desc {
    display: inline;
    white-space: nowrap;
}

.ticket-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #ccc;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 8px;
  background-color: #fff;
}

.ticket-details {
  flex: 1;
}

.counter {
  display: flex;
  align-items: center;
}

.btn-minus, .btn-plus {
  background-color: #1cb36e;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  cursor: pointer;
}

.quantity {
  margin: 0 10px;
  font-size: 18px;
}

#payment-summary {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.input-small {
    max-width: 50px; /* ajuste selon la largeur de tes boutons */
    padding: .375rem .5rem;
    font-size: 0.875rem;
}

.ticket-card.sold-out {
    opacity: 0.5;           /* grise tout le bloc */
}

.ticket-card.sold-out .ticket-details {
    color: grey;            /* si tu souhaites griser uniquement le texte */
}
.sold-out .text-danger {
    color: #dc3545 !important; /* rouge bootstrap */
}
