/* --------------------------------------------------
   Page Contact
   -------------------------------------------------- */
.contact-info-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(47, 76, 134, 0.1);
  height: 100%;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  box-shadow: 0 8px 24px rgba(47, 76, 134, 0.12);
  transform: translateY(-4px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--pv-color-accent), var(--pv-color-accent-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 1rem;
}

.contact-info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--pv-color-charcoal);
}

.contact-info-card p {
  margin-bottom: 0.5rem;
  color: var(--pv-color-muted);
}

.contact-info-card a {
  color: var(--pv-color-accent);
  font-weight: 500;
  text-decoration: none;
}

.contact-info-card a:hover {
  text-decoration: underline;
}

.contact-form-wrapper {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid rgba(47, 76, 134, 0.1);
  box-shadow: 0 4px 16px rgba(47, 76, 134, 0.08);
}

.contact-form-wrapper .form-label {
  font-weight: 600;
  color: var(--pv-color-charcoal);
  margin-bottom: 0.5rem;
}

.contact-form-wrapper .form-control,
.contact-form-wrapper .form-control:focus {
  border-radius: 8px;
  border: 1px solid rgba(47, 76, 134, 0.2);
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

.contact-form-wrapper .form-control:focus {
  border-color: var(--pv-color-accent);
  box-shadow: 0 0 0 0.2rem rgba(47, 76, 134, 0.1);
}

.contact-form-wrapper textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.contact-form-wrapper .invalid-feedback {
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.contact-form-wrapper .form-text {
  font-size: 0.875rem;
  color: var(--pv-color-muted);
}

/* Turnstile container styling */
#turnstile-container {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

/* Honeypot hidden */
.d-none {
  display: none !important;
}

@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 1.5rem;
  }
}/* --------------------------------------------------
   PaintVault brand system
   -------------------------------------------------- */
:root {
  --pv-color-accent: #2F4C86;
  --pv-color-accent-dark: #243764;
  --pv-color-orange: #E57C38;
  --pv-color-green: #A4C38C;
  --pv-color-cream: #F7F6F2;
  --pv-color-charcoal: #2B2B2B;
  --pv-color-gray: #D7D7D7;
  --pv-color-muted: #6B6B6B;
  --pv-border: rgba(0, 0, 0, 0.12);
  --pv-radius: 12px;
  --pv-shadow-soft: 0 15px 45px rgba(47, 76, 134, 0.08);
  --pv-font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --pv-font-body: 'Lora', Georgia, 'Times New Roman', serif;
}

/* --------------------------------------------------
   Typography & body styles
   -------------------------------------------------- */
body.site-body {
  background: var(--pv-color-cream);
  color: var(--pv-color-charcoal);
  font-family: var(--pv-font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.site-body::selection {
  background: var(--pv-color-orange);
  color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--pv-font-heading);
  color: var(--pv-color-charcoal);
  letter-spacing: 0.01em;
}

h1 { font-weight: 700; }
h2 { font-weight: 600; }
h3 { font-weight: 500; }

p.lead {
  font-size: 1.1rem;
  color: rgba(43, 43, 43, 0.8);
}

a {
  color: var(--pv-color-accent);
  text-decoration: none;
}

a:hover {
  color: var(--pv-color-accent-dark);
}

.main-content {
  padding: 4rem 0 5rem;
}

@media (max-width: 992px) {
  .main-content {
    padding: 3rem 0 4rem;
  }
}

/* --------------------------------------------------
   Navigation améliorée
   -------------------------------------------------- */
.site-nav {
  background: linear-gradient(135deg, rgba(43, 43, 43, 0.98), rgba(35, 35, 35, 0.98));
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  font-family: var(--pv-font-heading);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: #fff;
  font-size: 1.25rem;
  transition: transform 0.2s ease;
  padding: 0.25rem 0;
}

.site-brand:hover {
  transform: scale(1.02);
  color: #fff;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--pv-color-accent), var(--pv-color-orange));
  position: relative;
  box-shadow: 0 4px 12px rgba(229, 124, 56, 0.4);
  transition: box-shadow 0.2s ease;
}

.site-brand:hover .logo-mark {
  box-shadow: 0 6px 16px rgba(229, 124, 56, 0.6);
}

.logo-mark::before,
.logo-mark::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pv-color-cream);
}

.logo-mark::before {
  width: 10px;
  height: 20px;
  border-radius: 5px 5px 8px 8px;
  top: 7px;
}

.logo-mark::after {
  width: 5px;
  height: 10px;
  border-radius: 2.5px;
  bottom: 5px;
  background: var(--pv-color-orange);
}

/* Navigation items avec icônes */
.site-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.site-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--pv-color-orange);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.site-nav .nav-link:hover::after,
.site-nav .nav-link:focus::after,
.site-nav .nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus,
.site-nav .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.site-nav .nav-icon {
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.site-nav .nav-link:hover .nav-icon,
.site-nav .nav-link:focus .nav-icon {
  opacity: 1;
}

.site-nav .nav-link.nav-link-limited {
  color: rgba(255, 255, 255, 0.45);
  background: transparent;
}

.site-nav .nav-link.nav-link-limited::after {
  display: none;
}

.site-nav .nav-link.nav-link-limited:hover,
.site-nav .nav-link.nav-link-limited:focus {
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
}

.site-nav .nav-link.nav-link-limited .nav-icon {
  opacity: 0.5;
}

/* Dropdowns */
.site-nav .dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(47, 76, 134, 0.1);
  border-radius: 10px;
  padding: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  font-family: var(--pv-font-body);
  margin-top: 0.5rem;
}

.site-nav .dropdown-item {
  border-radius: 6px;
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
  color: var(--pv-color-charcoal);
  transition: all 0.15s ease;
}

.site-nav .dropdown-item:hover,
.site-nav .dropdown-item:focus {
  background: rgba(47, 76, 134, 0.1);
  color: var(--pv-color-accent);
  transform: translateX(4px);
}

.site-nav .dropdown-divider {
  margin: 0.5rem 0;
  border-color: rgba(47, 76, 134, 0.1);
}

/* User section */
.navbar-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.user-email {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Language selector */
.lang-selector .btn-lang {
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.35rem 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.lang-selector .btn-lang:hover,
.lang-selector .btn-lang:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.lang-selector .btn-lang svg {
  opacity: 0.8;
}

/* Navbar toggler */
.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
  width: 1.5rem;
  height: 1.5rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile responsive */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(35, 35, 35, 0.98);
    margin: 1rem -1rem -0.5rem;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-nav .nav-link {
    margin: 0.25rem 0;
  }

  .navbar-user {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .user-email {
    width: 100%;
    text-align: center;
  }
}

/* --------------------------------------------------
   Buttons améliorés
   -------------------------------------------------- */
.btn {
  border-radius: 6px;
  font-family: var(--pv-font-heading);
  letter-spacing: 0.02em;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  border: none;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-accent {
  background: linear-gradient(135deg, var(--pv-color-accent), var(--pv-color-accent-dark));
  color: #fff;
}

.btn-accent:hover,
.btn-accent:focus {
  background: linear-gradient(135deg, var(--pv-color-accent-dark), #1a2a4a);
  color: #fff;
}

.btn-premium {
  background: linear-gradient(135deg, var(--pv-color-orange), #d66a28);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-premium:hover,
.btn-premium:focus {
  background: linear-gradient(135deg, #d66a28, #c75a20);
  color: #fff;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.05);
}

.btn-ghost:hover,
.btn-ghost:focus {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline-accent {
  border: 1px solid var(--pv-color-accent);
  color: var(--pv-color-accent);
  background: transparent;
}

.btn-outline-accent:hover,
.btn-outline-accent:focus {
  background: var(--pv-color-accent);
  color: #fff;
}

.badge-accent {
  background: rgba(47, 76, 134, 0.1);
  color: var(--pv-color-accent);
  font-family: var(--pv-font-heading);
}

/* --------------------------------------------------
   Hero Cover avec image de couverture
   -------------------------------------------------- */
.hero-cover {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin: 0 0 4rem 0;
}

.hero-cover-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-cover-image .cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-cover-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  background: linear-gradient(
    to bottom,
    rgba(43, 43, 43, 0.7) 0%,
    rgba(43, 43, 43, 0.85) 50%,
    rgba(43, 43, 43, 0.9) 100%
  );
  padding: 6rem 0;
}

.hero-cover-content {
  text-align: center;
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
}

.hero-cover-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.02em;
}

.hero-cover-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-cover-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--pv-color-orange), #d66a28);
  color: #fff;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(229, 124, 56, 0.4);
  transition: all 0.3s ease;
}

.btn-hero-primary:hover,
.btn-hero-primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(229, 124, 56, 0.6);
  color: #fff;
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover,
.btn-hero-secondary:focus {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  color: #fff;
}

@media (max-width: 768px) {
  .hero-cover {
    min-height: 70vh;
  }

  .hero-cover-overlay {
    padding: 4rem 0;
  }

  .hero-cover-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

/* --------------------------------------------------
   Features Section moderne
   -------------------------------------------------- */
.features-section {
  padding: 5rem 0;
  background: #fff;
}

.section-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--pv-color-charcoal);
  margin-bottom: 3rem;
}

.feature-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.feature-card-modern {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  background: var(--pv-color-cream);
  border: 1px solid rgba(47, 76, 134, 0.08);
  transition: all 0.3s ease;
}

.feature-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(47, 76, 134, 0.15);
  border-color: rgba(47, 76, 134, 0.2);
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pv-color-accent), var(--pv-color-accent-dark));
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(47, 76, 134, 0.25);
}

.feature-card-modern h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--pv-color-charcoal);
}

.feature-card-modern p {
  color: var(--pv-color-muted);
  line-height: 1.7;
  margin: 0;
}

/* --------------------------------------------------
   CTA Section
   -------------------------------------------------- */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--pv-color-accent), var(--pv-color-accent-dark));
}

.cta-box {
  text-align: center;
  color: #fff;
  max-width: 700px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-box p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.cta-box .btn {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .section-heading {
    font-size: 2rem;
  }

  .feature-grid-modern {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-box h2 {
    font-size: 2rem;
  }

  .cta-box p {
    font-size: 1.1rem;
  }
}

/* --------------------------------------------------
   Footer
   -------------------------------------------------- */
.site-footer {
  background: #1f1f1f;
  color: rgba(247, 246, 242, 0.85);
  padding: 3.5rem 0;
  font-family: var(--pv-font-body);
}

.site-footer a {
  color: rgba(247, 246, 242, 0.85);
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer .footer-title {
  font-family: var(--pv-font-heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: rgba(247, 246, 242, 0.6);
}

/* Reste du CSS (viewport, image list, etc.) inchangé */
#viewport {
  background: #f8f9fa;
}

#viewport > canvas {
  inset: 0;
  width: 100%;
  height: 100%;
}

.list-group-item.active {
  background: var(--bs-body-bg);
  color: inherit;
  border-color: var(--pv-border);
}

.image-item {
  border-radius: 0.5rem;
  padding: 0.25rem 0.5rem;
}

.image-item.active {
  background: rgba(13, 110, 253, 0.1);
}

.image-item .badge {
  width: 1.375rem;
}

.paint-suggestion {
  border: 1px solid var(--pv-border);
  transition: transform 0.05s ease, box-shadow 0.1s ease;
}

.paint-suggestion:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.dot,
.note-color {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.25);
}

.table .small {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn + .btn {
  margin-left: 0.25rem;
}

@media (max-width: 992px) {
  #viewport {
    height: 50vh;
  }
}

.pv-toolbar {
  position: relative;
}

.pv-swatch-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.5rem;
}

.pv-swatch-card {
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.pv-swatch {
  height: 56px;
}

.pv-swatch-meta {
  padding: 0.45rem 0.6rem;
}

.pv-swatch-meta .pv-line1 {
  font-size: 0.8rem;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pv-swatch-meta .pv-line2 {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pv-swatch-meta .pv-line3 {
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.25rem;
}


#pick_paint_list {
  z-index: 1052;      /* > dropdown (1000) et modal backdrop (1050) */
  max-height: 320px;  /* pour éviter de déborder l’écran */
  
}

/* --------------------------------------------------
   Inventory list enhancements
   -------------------------------------------------- */
.inventory-brand-row td {
  background: #000;
  color: #fff;
  border-top: none;
  border-bottom: 1px solid #000;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.inventory-brand-logo {
  max-height: 40px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
}

.inventory-brand-row .inventory-brand-name {
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: inherit;
}

.inventory-type-row td {
  background: rgba(47, 76, 134, 0.03);
  font-weight: 600;
  color: var(--pv-color-charcoal);
  padding-top: 0.75rem;
  padding-bottom: 0.5rem;
}

.inventory-type-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.inventory-type-label .bi,
.inventory-type-label .icon {
  font-size: 1.05rem;
}

.inventory-qty-form {
  max-width: 130px;
  flex-wrap: nowrap;
}

.inventory-qty-form .form-control {
  min-width: 0;
  text-align: center;
}

.inventory-qty-form .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.inventory-qty-input {
  flex: 0 1 auto;
  width: 4.25rem;
  max-width: 100%;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.inventory-qty-submit .icon,
.inventory-qty-form .icon {
  display: block;
}

@media (max-width: 768px) {
  .inventory-brand-row td {
    padding-left: 1rem;
  }

  .inventory-type-row td {
    padding-left: 2.5rem;
  }

  .inventory-qty-form {
    max-width: 100%;
  }

  .inventory-qty-input {
    width: 3.75rem;
  }
}

#paintQuery {
  transition: opacity 0.2s ease;
}
.d-none {
  opacity: 0;
  height: 0;
  overflow: hidden;
}

#addForm .btn-success {
  min-width: 100px;
}
#customFields .form-label {
  font-size: 0.9rem;
}

.card-header.brand-header {
  background-color: #000000 !important; /* Fond noir */
  border-bottom: 2px solid #000;
}

.inventory-brand-logo {
  max-height: 40px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  filter: brightness(1.1); /* Légèrement plus lumineux sur fond noir */
}

.inventory-brand-name {
  color: #fff; /* Texte blanc pour le nom de marque */
}
.logo-image {
    width: 50px;  /* Ajustez selon vos besoins */
    height: 50px; /* Ajustez selon vos besoins */
    object-fit: contain; /* Pour garder les proportions */
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem; /* Espacement avec le texte */
}

/* Si vous voulez que le logo du footer soit légèrement plus petit */
footer .logo-image {
    width: 32px;
    height: 32px;
}

/* Loading overlay */
#loadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-content {
  background: white;
  padding: 2rem 3rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: fadeInScale 0.3s ease-out;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Animation du spinner dans le bouton */
#computeBtn .spinner-border {
  margin-left: 0.5rem;
}

.color-mixing-animation {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.color-circle {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  opacity: 0.7;
  animation: mix 2s ease-in-out infinite;
}

.color-circle.color-1 {
  background: #FF6B6B;
  top: 0;
  left: 0;
  animation-delay: 0s;
}

.color-circle.color-2 {
  background: #4ECDC4;
  top: 0;
  right: 0;
  animation-delay: 0.3s;
}

.color-circle.color-3 {
  background: #FFE66D;
  bottom: 0;
  left: 30px;
  animation-delay: 0.6s;
}

@keyframes mix {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.9;
  }
}

.hidden { display: none !important; }

/* ——— Swatches génériques ——— */
.pv-chip,
.pv-chip-md,
.pv-chip-lg {
  display: inline-block;
  vertical-align: middle;
  border: 1px solid rgba(0,0,0,.25);
  border-radius: 4px;
  overflow: hidden; /* masque les coins arrondis du SVG */
}

/* tailles */
.pv-chip     { width: 20px; height: 20px; }
.pv-chip-md  { width: 22px; height: 22px; }
.pv-chip-lg  { width: 30px; height: 30px; border-radius: 6px; }

/* le SVG occupe tout l’espace */
.pv-chip > svg,
.pv-chip-md > svg,
.pv-chip-lg > svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* utilitaire pour limiter la largeur d’un groupe */
.maxw-280 { max-width: 280px; }

/* (tes styles existants conservés) */
.pv-swatch {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,.15);
  background-color: #ccc;
  vertical-align: middle;
}
.pv-swatch.large {
  width: 38px;
  height: 38px;
  border-radius: 6px;
}

.pv-swatch-card {
  background: var(--pv-card-bg, #fff);
  transition: transform .15s ease-in-out, box-shadow .15s ease-in-out;
}
.pv-swatch-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.pv-swatch-header {
  height: 36px;
  background-color: #ccc;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  transition: background-color .3s ease;
}
.pv-swatch-meta { background: #fff; }

.pv-line1, .pv-line2 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inv-color-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.25);
  background: #ccc;
  vertical-align: middle;
}
.inv-color-dot.no-color {
  background: repeating-linear-gradient(
    45deg, #ccc, #ccc 4px, #f2f2f2 4px, #f2f2f2 8px
  );
}

/* swatches: laisser l'inline gagner */
.pv-swatch { position: relative; }
.pv-swatch[data-hex]::before {
  content:'';
  display:block;
  width:100%;
  height:100%;
  border-radius:inherit;
  background-color: inherit;   /* ⬅ hérite de l'inline background-color */
}

/* Admin Users table: allow dropdowns to overflow the responsive wrapper */
.admin-users .table-responsive {
  overflow: visible;             /* allow menus to spill out */
}

/* If you still want horizontal scroll on small screens */
@media (max-width: 991.98px) {
  .admin-users .table-responsive {
    overflow-x: auto;
    overflow-y: visible;
  }
}

/* Just in case z-index stacking is tight somewhere */
.admin-users .dropdown-menu {
  z-index: 1070; /* ≥ Bootstrap navbars/modals default layers */
}

/* Agrandissement de la zone drops */
.input-group-drops {
  max-width: 400px;
}

.input-drops-number {
  min-width: 100px !important;
  width: 100px !important;
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  text-align: center !important;
  padding: 0.5rem 0.75rem !important;
}