/* ============================================================
   bijoux-form.css — Forms Dark Theme — iter 46
   Vars: --night #0E0B1A | --gold #D4B570 | --amethyst #6B4A8C | --cream #E8E0D0
   ============================================================ */

/* ── 1. INPUTS BASE ──────────────────────────────────────── */
input[type=text],
input[type=email],
input[type=password],
input[type=tel],
input[type=search],
input[type=number],
input[type=date],
select,
textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(107, 74, 140, 0.5);
  color: var(--cream, #E8E0D0);
  padding: 12px 14px;
  border-radius: 8px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  min-height: 44px;
  transition: all 0.2s;
  width: 100%;
  box-sizing: border-box;
}

/* ── 2. FOCUS ────────────────────────────────────────────── */
input[type=text]:focus,
input[type=email]:focus,
input[type=password]:focus,
input[type=tel]:focus,
input[type=search]:focus,
input[type=number]:focus,
input[type=date]:focus,
select:focus,
textarea:focus {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--gold, #D4B570);
  outline: 2px solid rgba(212, 181, 112, 0.3);
  outline-offset: 1px;
}

/* ── 3. PLACEHOLDER ──────────────────────────────────────── */
input::placeholder,
textarea::placeholder {
  color: rgba(232, 224, 208, 0.4);
}

/* ── 4. LABELS (complément bijoux-fixes, sans dupliquer) ─── */
.form-control-label,
label {
  margin-bottom: 6px;
  display: block;
}

/* ── 5. SELECT CUSTOM ARROW ──────────────────────────────── */
select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23D4B570' d='M8 11L2 5h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  cursor: pointer;
}

select option {
  background: #1a1428;
  color: var(--cream, #E8E0D0);
}

/* ── 6. RADIO + CHECKBOX CUSTOM ──────────────────────────── */
input[type=radio],
input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  min-height: 20px;
  border: 1.5px solid var(--amethyst, #6B4A8C);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  vertical-align: middle;
  flex-shrink: 0;
  transition: all 0.2s;
}

input[type=radio] {
  border-radius: 50%;
}

input[type=radio]:checked {
  background: radial-gradient(circle, var(--gold, #D4B570) 0px, var(--gold, #D4B570) 6px, transparent 7px);
  border-color: var(--gold, #D4B570);
}

input[type=checkbox] {
  border-radius: 4px;
}

input[type=checkbox]:checked {
  background: var(--gold, #D4B570) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath fill='none' stroke='%230E0B1A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2 7l3.5 3.5L12 3'/%3E%3C/svg%3E") center / 14px no-repeat;
  border-color: var(--gold, #D4B570);
}

input[type=radio]:focus,
input[type=checkbox]:focus {
  outline: 2px solid rgba(212, 181, 112, 0.3);
  outline-offset: 2px;
}

/* ── 7. BOUTON PRIMARY ───────────────────────────────────── */
.btn-primary,
button[type=submit].btn,
input[type=submit].btn {
  background: var(--gold, #D4B570);
  color: var(--night, #0E0B1A);
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
  min-height: 44px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
}

.btn-primary:hover,
button[type=submit].btn:hover,
input[type=submit].btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 181, 112, 0.30);
  background: var(--gold, #D4B570);
  color: var(--night, #0E0B1A);
}

/* ── 8. BOUTON SECONDARY OUTLINE GOLD ───────────────────── */
.btn-secondary,
.btn-outline-gold {
  background: transparent;
  color: var(--gold, #D4B570);
  border: 1.5px solid var(--gold, #D4B570);
  padding: 11px 28px;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
  min-height: 44px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
}

.btn-secondary:hover,
.btn-outline-gold:hover {
  background: rgba(212, 181, 112, 0.12);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(212, 181, 112, 0.20);
}

/* ── 9. NEWSLETTER INLINE FORM ───────────────────────────── */
.newsletter-form,
#newsletter-form,
form.newsletter {
  display: flex;
  gap: 10px;
  align-items: center;
}

.newsletter-form input[type=email],
#newsletter-form input[type=email],
form.newsletter input[type=email] {
  flex: 1;
  min-width: 0;
}

.newsletter-form .btn,
#newsletter-form .btn,
form.newsletter .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 576px) {
  .newsletter-form,
  #newsletter-form,
  form.newsletter {
    flex-direction: column;
    gap: 8px;
  }

  .newsletter-form .btn,
  #newsletter-form .btn,
  form.newsletter .btn {
    width: 100%;
  }
}

/* ── 10. RECHERCHE ───────────────────────────────────────── */
.search-widget input[type=text],
.search-widget input[type=search],
#search_widget input,
.blocksearch input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(107, 74, 140, 0.5);
  color: var(--cream, #E8E0D0);
  padding: 10px 40px 10px 14px;
  border-radius: 8px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  min-height: 44px;
  transition: all 0.2s;
  width: 100%;
}

.search-widget input:focus,
#search_widget input:focus,
.blocksearch input:focus {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--gold, #D4B570);
  outline: 2px solid rgba(212, 181, 112, 0.3);
  outline-offset: 1px;
}

.search-widget button,
#search_widget button,
.blocksearch button {
  background: none;
  border: none;
  color: var(--gold, #D4B570);
  cursor: pointer;
  padding: 0 12px;
  display: flex;
  align-items: center;
}

.search-widget .search-icon,
.search-widget svg,
#search_widget svg,
#search_widget .search-icon {
  fill: var(--gold, #D4B570);
  stroke: var(--gold, #D4B570);
}

/* ── 11. ERREURS ─────────────────────────────────────────── */
.has-error input[type=text],
.has-error input[type=email],
.has-error input[type=password],
.has-error input[type=tel],
.has-error input[type=number],
.has-error select,
.has-error textarea {
  border-color: #E07A5F;
}

.help-block,
.form-error,
.alert-danger small,
.field-error {
  color: #E07A5F;
  font-size: 13px;
  margin-top: 4px;
  display: block;
}

/* ── 12. FORM-CONTROL (classes PS générique checkout/tunnel) */
.form-control {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(107, 74, 140, 0.5);
  color: var(--cream, #E8E0D0);
  padding: 12px 14px;
  border-radius: 8px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  min-height: 44px;
  transition: all 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--gold, #D4B570);
  outline: 2px solid rgba(212, 181, 112, 0.3);
  outline-offset: 1px;
  box-shadow: none;
}

.form-control-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23D4B570' d='M8 11L2 5h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

/* ── 13. LABEL REQUIRED ──────────────────────────────────── */
.form-control-label.required::after,
label.required::after {
  content: ' *';
  color: var(--gold, #D4B570);
  font-size: 13px;
}

/* ── 14. PASSWORD TOGGLE ─────────────────────────────────── */
.input-group.js-parent-focus,
.input-group {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
}

.input-group .form-control,
.input-group input {
  flex: 1;
  border-radius: 8px 0 0 8px;
  width: auto;
}

.input-group-btn {
  display: flex;
  align-items: center;
}

.input-group-btn button,
button[data-action="show-password"] {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(107, 74, 140, 0.5);
  border-left: none;
  color: var(--cream, #E8E0D0);
  padding: 0 14px;
  min-height: 44px;
  cursor: pointer;
  border-radius: 0 8px 8px 0;
  transition: all 0.2s;
  display: flex;
  align-items: center;
}

.input-group-btn button:hover,
button[data-action="show-password"]:hover {
  background: rgba(212, 181, 112, 0.12);
  color: var(--gold, #D4B570);
}

.input-group-btn button .material-icons,
button[data-action="show-password"] .material-icons {
  font-size: 20px;
  color: inherit;
}

.input-group.js-parent-focus:focus-within {
  outline: 2px solid rgba(212, 181, 112, 0.3);
  outline-offset: 1px;
  border-radius: 8px;
}

/* ── 15. AUTOCOMPLETE DARK (override navigateur) ─────────── */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #1a1428 inset;
  -webkit-text-fill-color: var(--cream, #E8E0D0);
  caret-color: var(--cream, #E8E0D0);
  transition: background-color 5000s ease-in-out 0s;
}

/* ── 16. TEXTAREA RESIZE ─────────────────────────────────── */
textarea {
  resize: vertical;
  min-height: 100px;
}

/* ── 17. SUCCESS STATE ───────────────────────────────────── */
.has-success input[type=text],
.has-success input[type=email],
.has-success input[type=password],
.has-success input[type=tel],
.has-success input[type=number],
.has-success select,
.has-success textarea,
.has-success .form-control {
  border-color: #7AAF7A;
}

.form-ok,
.alert-success small,
.ps-alert-success li {
  color: #7AAF7A;
  font-size: 13px;
  margin-top: 4px;
  display: block;
}

/* ── 18. NEWSLETTER PS (ps_emailsubscription) ────────────── */
.email_subscription form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.email_subscription input[type=email] {
  flex: 1;
  min-width: 0;
}

.email_subscription input[type=submit] {
  background: var(--gold, #D4B570);
  color: var(--night, #0E0B1A);
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  min-height: 44px;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  white-space: nowrap;
}

.email_subscription input[type=submit]:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 181, 112, 0.30);
}

.email_subscription .notification {
  font-size: 13px;
  margin-top: 6px;
  display: block;
}

.email_subscription .notification-error { color: #E07A5F; }
.email_subscription .notification-success { color: #7AAF7A; }

@media (max-width: 576px) {
  .email_subscription form {
    flex-direction: column;
    gap: 8px;
  }
  .email_subscription input[type=submit] {
    width: 100%;
  }
}

/* ── 19. VOUCHER PANIER (.promo-input) ───────────────────── */
.promo-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(107, 74, 140, 0.5);
  color: var(--cream, #E8E0D0);
  padding: 12px 14px;
  border-radius: 8px 0 0 8px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  min-height: 44px;
  transition: all 0.2s;
  box-sizing: border-box;
}

.promo-input::placeholder {
  color: rgba(232, 224, 208, 0.4);
}

.promo-input:focus {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--gold, #D4B570);
  outline: none;
}

.bj-promo-input-group {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.bj-promo-input-group .promo-input {
  flex: 1;
}

.bj-promo-input-group .btn {
  border-radius: 0 8px 8px 0;
  flex-shrink: 0;
}

/* ── 20. DISABLED ────────────────────────────────────────── */
input:disabled,
select:disabled,
textarea:disabled,
button:disabled,
.btn:disabled,
.btn[disabled],
.form-control:disabled,
.form-control[readonly] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.02) !important;
  border-color: rgba(107, 74, 140, 0.25) !important;
  color: rgba(232, 224, 208, 0.4) !important;
}

/* ── 21. IS-LOADING button state ─────────────────────────── */
.btn.is-loading,
.btn-primary.is-loading,
.btn-secondary.is-loading {
  pointer-events: none;
  opacity: 0.65;
  position: relative;
  color: transparent !important;
}

.btn.is-loading::after,
.btn-primary.is-loading::after,
.btn-secondary.is-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  border: 2px solid transparent;
  border-top-color: var(--night, #0E0B1A);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: bj-spin 0.7s linear infinite;
}

.btn-secondary.is-loading::after,
.btn-outline-gold.is-loading::after {
  border-top-color: var(--gold, #D4B570);
}

@keyframes bj-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ── 22. FLOATING LABELS ─────────────────────────────────── */
.bj-float-group {
  position: relative;
  margin-bottom: 1.25rem;
}

.bj-float-group input,
.bj-float-group textarea,
.bj-float-group select {
  padding-top: 20px;
  padding-bottom: 8px;
}

.bj-float-group label {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  font-size: 15px;
  color: rgba(232, 224, 208, 0.5);
  pointer-events: none;
  transition: all 0.18s ease;
  margin: 0;
  line-height: 1;
  white-space: nowrap;
}

.bj-float-group textarea ~ label {
  top: 18px;
  transform: none;
}

.bj-float-group input:focus ~ label,
.bj-float-group input:not(:placeholder-shown) ~ label,
.bj-float-group textarea:focus ~ label,
.bj-float-group textarea:not(:placeholder-shown) ~ label,
.bj-float-group select:focus ~ label,
.bj-float-group.bj-has-value label {
  top: 8px;
  transform: none;
  font-size: 11px;
  color: var(--gold, #D4B570);
  letter-spacing: 0.04em;
}

.bj-float-group input::placeholder,
.bj-float-group textarea::placeholder {
  color: transparent;
}

/* ── 23. CHARACTER COUNTER ───────────────────────────────── */
.bj-char-counter {
  display: block;
  text-align: right;
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px;
  color: rgba(232, 224, 208, 0.4);
  margin-top: 4px;
  transition: color 0.2s;
}

.bj-char-counter.bj-near-limit {
  color: var(--gold, #D4B570);
}

.bj-char-counter.bj-at-limit {
  color: #E07A5F;
}

/* ── 24. FILE UPLOAD ─────────────────────────────────────── */
.bj-file-upload {
  position: relative;
  display: block;
}

.bj-file-upload input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.bj-file-upload__label {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px dashed rgba(107, 74, 140, 0.5);
  color: rgba(232, 224, 208, 0.6);
  padding: 12px 16px;
  border-radius: 8px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 44px;
}

.bj-file-upload:hover .bj-file-upload__label,
.bj-file-upload input[type=file]:focus ~ .bj-file-upload__label {
  border-color: var(--gold, #D4B570);
  color: var(--cream, #E8E0D0);
  background: rgba(212, 181, 112, 0.06);
}

.bj-file-upload__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--gold, #D4B570);
  opacity: 0.7;
}

.bj-file-upload__filename {
  font-size: 13px;
  color: var(--gold, #D4B570);
  margin-top: 6px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── 25. TOOLTIP HINT ────────────────────────────────────── */
.bj-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.bj-tooltip__icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(107, 74, 140, 0.35);
  color: rgba(232, 224, 208, 0.7);
  font-size: 11px;
  line-height: 16px;
  text-align: center;
  cursor: help;
  flex-shrink: 0;
  margin-left: 6px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  user-select: none;
}

.bj-tooltip__content {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #1a1428;
  border: 1px solid rgba(107, 74, 140, 0.4);
  color: var(--cream, #E8E0D0);
  font-family: 'Inter Tight', sans-serif;
  font-size: 12px;
  line-height: 1.5;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: nowrap;
  max-width: 240px;
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s, visibility 0.18s;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.bj-tooltip__content::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(107, 74, 140, 0.4);
}

.bj-tooltip:hover .bj-tooltip__content,
.bj-tooltip:focus-within .bj-tooltip__content {
  opacity: 1;
  visibility: visible;
}

/* ── 26. INLINE SUCCESS/ERROR MESSAGES ───────────────────── */
.bj-field-msg {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 12px;
  line-height: 1.4;
  margin-top: 5px;
  padding: 0 2px;
}

.bj-field-msg--error {
  color: #E07A5F;
}

.bj-field-msg--success {
  color: #7AAF7A;
}

.bj-field-msg__icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 1px;
}

/* ── 27. NEWSLETTER STICKY BAR ───────────────────────────── */
.bj-newsletter-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #150e2a 0%, #1a1428 100%);
  border-top: 1px solid rgba(107, 74, 140, 0.4);
  padding: 14px 24px;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.4);
}

.bj-newsletter-sticky.bj-sticky-visible {
  transform: translateY(0);
}

.bj-newsletter-sticky__text {
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  color: rgba(232, 224, 208, 0.8);
  white-space: nowrap;
  flex-shrink: 0;
}

.bj-newsletter-sticky__text strong {
  color: var(--gold, #D4B570);
}

.bj-newsletter-sticky__form {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 0;
  max-width: 440px;
}

.bj-newsletter-sticky__form input[type=email] {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  font-size: 14px;
  min-height: 40px;
}

.bj-newsletter-sticky__form .btn {
  flex-shrink: 0;
  padding: 10px 20px;
  font-size: 13px;
  min-height: 40px;
}

.bj-newsletter-sticky__close {
  background: none;
  border: none;
  color: rgba(232, 224, 208, 0.4);
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  font-size: 20px;
  line-height: 1;
  transition: color 0.2s;
}

.bj-newsletter-sticky__close:hover {
  color: var(--cream, #E8E0D0);
}

@media (max-width: 640px) {
  .bj-newsletter-sticky {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px 16px;
  }

  .bj-newsletter-sticky__text {
    white-space: normal;
  }

  .bj-newsletter-sticky__form {
    max-width: 100%;
  }
}

/* ── 28. SEARCH OVERLAY ──────────────────────────────────── */
.bj-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 11, 26, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 8500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(60px, 12vh, 120px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.bj-search-overlay.bj-overlay-open {
  opacity: 1;
  visibility: visible;
}

.bj-search-overlay__inner {
  width: 100%;
  max-width: 680px;
  padding: 0 20px;
}

.bj-search-overlay__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.bj-search-overlay__input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(107, 74, 140, 0.5) !important;
  border-radius: 12px !important;
  padding: 16px 52px 16px 20px !important;
  font-size: 18px !important;
  color: var(--cream, #E8E0D0) !important;
  min-height: 56px !important;
}

.bj-search-overlay__input:focus {
  border-color: var(--gold, #D4B570) !important;
  outline: 2px solid rgba(212, 181, 112, 0.25) !important;
  outline-offset: 2px !important;
}

.bj-search-overlay__submit {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: var(--gold, #D4B570);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

.bj-search-overlay__hint {
  font-family: 'Inter Tight', sans-serif;
  font-size: 12px;
  color: rgba(232, 224, 208, 0.35);
  margin-top: 10px;
  text-align: center;
}

.bj-search-overlay__hint kbd {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 11px;
}

/* ── 29. RADIO/CHECKBOX LABEL ALIGNMENT ──────────────────── */
.bj-check-group,
.custom-control {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  line-height: 1.5;
}

.bj-check-group input[type=checkbox],
.bj-check-group input[type=radio],
.custom-control input {
  margin-top: 2px;
  flex-shrink: 0;
}

.bj-check-group label,
.custom-control label {
  margin-bottom: 0;
  cursor: pointer;
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  color: rgba(232, 224, 208, 0.85);
}

/* ── 30. AUTOCOMPLETE DARK (Firefox) ─────────────────────── */
@supports (color-scheme: dark) {
  input, select, textarea {
    color-scheme: dark;
  }
}

/* Ensure autofill on .form-control too */
.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #1a1428 inset;
  -webkit-text-fill-color: var(--cream, #E8E0D0);
  caret-color: var(--cream, #E8E0D0);
  transition: background-color 5000s ease-in-out 0s;
}

/* ── 31. DATE PICKER CUSTOM DARK ──────────────────────────── */
input[type=date]::-webkit-calendar-picker-indicator {
  filter: invert(0.75) sepia(1) saturate(2) hue-rotate(5deg);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
input[type=date]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}
input[type=date]::-webkit-inner-spin-button,
input[type=date]::-webkit-outer-spin-button {
  display: none;
}

/* ── 32. COUNTRY SELECT FLAG PREFIX ──────────────────────── */
.bj-country-select {
  position: relative;
  display: flex;
  align-items: center;
}
.bj-country-select__flag {
  position: absolute;
  left: 12px;
  font-size: 18px;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
}
.bj-country-select select,
.bj-country-select .form-control {
  padding-left: 40px;
}

/* ── 33. PHONE INPUT +33 PREFIX ───────────────────────────── */
.bj-phone-group {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.bj-phone-group__prefix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: rgba(107, 74, 140, 0.18);
  border: 1px solid rgba(107, 74, 140, 0.5);
  border-right: none;
  border-radius: 8px 0 0 8px;
  color: var(--gold, #D4B570);
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 44px;
}
.bj-phone-group input[type=tel] {
  border-radius: 0 8px 8px 0;
  flex: 1;
}
.bj-phone-group:focus-within .bj-phone-group__prefix {
  border-color: var(--gold, #D4B570);
}

/* ── 34. POSTAL CODE INPUT ────────────────────────────────── */
input[type=text].bj-postal,
input.bj-postal {
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
  max-width: 140px;
}

/* ── 35. SEARCH CLEAR ICON ────────────────────────────────── */
.bj-search-clearable {
  position: relative;
  display: flex;
  align-items: center;
}
.bj-search-clearable input {
  padding-right: 36px;
}
.bj-search-clear {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  color: rgba(232, 224, 208, 0.4);
  cursor: pointer;
  padding: 0;
  font-size: 18px;
  line-height: 1;
  display: none;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  transition: color 0.2s;
}
.bj-search-clearable.bj-has-value .bj-search-clear {
  display: flex;
}
.bj-search-clear:hover {
  color: var(--gold, #D4B570);
}

/* ── 36. RANGE SLIDER GOLD THUMB ──────────────────────────── */
input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(107, 74, 140, 0.35);
  border-radius: 2px;
  outline: none;
  border: none;
  min-height: auto;
  padding: 0;
  cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e8d090, var(--gold, #D4B570));
  border: 2px solid rgba(212, 181, 112, 0.6);
  box-shadow: 0 2px 8px rgba(212, 181, 112, 0.35);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 16px rgba(212, 181, 112, 0.55);
}
input[type=range]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold, #D4B570);
  border: 2px solid rgba(212, 181, 112, 0.6);
  box-shadow: 0 2px 8px rgba(212, 181, 112, 0.35);
  cursor: pointer;
}
input[type=range]::-webkit-slider-runnable-track {
  background: rgba(107, 74, 140, 0.35);
  height: 4px;
  border-radius: 2px;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(212, 181, 112, 0.25), 0 2px 8px rgba(212, 181, 112, 0.35);
}

/* ── 37. COLOR PICKER DARK MODE ───────────────────────────── */
input[type=color] {
  -webkit-appearance: none;
  appearance: none;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 3px;
  border: 1.5px solid rgba(107, 74, 140, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: border-color 0.2s;
}
input[type=color]::-webkit-color-swatch-wrapper {
  padding: 0;
  border-radius: 5px;
}
input[type=color]::-webkit-color-swatch {
  border: none;
  border-radius: 5px;
}
input[type=color]:focus,
input[type=color]:hover {
  border-color: var(--gold, #D4B570);
  outline: 2px solid rgba(212, 181, 112, 0.25);
  outline-offset: 1px;
}

/* ── 38. FORM SECTION DIVIDER ─────────────────────────────── */
.bj-form-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 20px;
}
.bj-form-divider__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107, 74, 140, 0.4), transparent);
}
.bj-form-divider__label {
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232, 224, 208, 0.4);
  white-space: nowrap;
}
.bj-form-divider--gold .bj-form-divider__label {
  color: var(--gold, #D4B570);
}
.bj-form-divider--gold .bj-form-divider__line {
  background: linear-gradient(90deg, transparent, rgba(212, 181, 112, 0.35), transparent);
}

/* ── 39. FORM HEADER SUBTITLE MUTED ──────────────────────── */
.bj-form-header {
  margin-bottom: 24px;
}
.bj-form-header__title {
  font-family: 'Inter Tight', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--cream, #E8E0D0);
  margin: 0 0 6px;
}
.bj-form-header__subtitle {
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px;
  color: rgba(232, 224, 208, 0.45);
  margin: 0;
  line-height: 1.5;
}

/* ── 40. INLINE ERROR ICON POSITION ──────────────────────── */
.bj-input-error-wrap {
  position: relative;
}
.bj-input-error-wrap .has-error-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #E07A5F;
  pointer-events: none;
  font-size: 16px;
  line-height: 1;
}
.bj-input-error-wrap input,
.bj-input-error-wrap .form-control {
  padding-right: 38px;
}
.bj-input-error-wrap.bj-has-success .has-error-icon {
  color: #7AAF7A;
}

/* ── 41. HELPER TEXT BELOW INPUT ─────────────────────────── */
.bj-helper-text {
  display: block;
  font-family: 'Inter Tight', sans-serif;
  font-size: 12px;
  color: rgba(232, 224, 208, 0.45);
  margin-top: 5px;
  line-height: 1.5;
  padding: 0 2px;
}
.bj-helper-text a {
  color: var(--gold, #D4B570);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.bj-helper-text--error { color: #E07A5F; }
.bj-helper-text--success { color: #7AAF7A; }

/* ── 42. MULTI-STEP FORM INDICATOR ───────────────────────── */
.bj-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 32px;
}
.bj-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  position: relative;
}
.bj-step::after {
  content: '';
  position: absolute;
  top: 15px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: rgba(107, 74, 140, 0.35);
}
.bj-step:last-child::after { display: none; }
.bj-step--done::after { background: var(--gold, #D4B570); }
.bj-step__dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(107, 74, 140, 0.18);
  border: 2px solid rgba(107, 74, 140, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(232, 224, 208, 0.5);
  position: relative;
  z-index: 1;
  transition: all 0.2s;
}
.bj-step--active .bj-step__dot {
  background: rgba(212, 181, 112, 0.15);
  border-color: var(--gold, #D4B570);
  color: var(--gold, #D4B570);
  box-shadow: 0 0 0 4px rgba(212, 181, 112, 0.12);
}
.bj-step--done .bj-step__dot {
  background: var(--gold, #D4B570);
  border-color: var(--gold, #D4B570);
  color: var(--night, #0E0B1A);
}
.bj-step__label {
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px;
  color: rgba(232, 224, 208, 0.4);
  white-space: nowrap;
  letter-spacing: 0.03em;
}
.bj-step--active .bj-step__label { color: var(--gold, #D4B570); }
.bj-step--done .bj-step__label { color: rgba(232, 224, 208, 0.6); }

/* ── 43. INLINE VALIDATION AS-YOU-TYPE ───────────────────── */
.bj-field-wrap {
  position: relative;
}
.bj-field-wrap .bj-valid-icon,
.bj-field-wrap .bj-invalid-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s;
  font-size: 16px;
  line-height: 1;
}
.bj-field-wrap .bj-valid-icon { color: #7AAF7A; }
.bj-field-wrap .bj-invalid-icon { color: #E07A5F; }
.bj-field-wrap.bj-valid input,
.bj-field-wrap.bj-valid .form-control {
  border-color: #7AAF7A;
  padding-right: 38px;
}
.bj-field-wrap.bj-invalid input,
.bj-field-wrap.bj-invalid .form-control {
  border-color: #E07A5F;
  padding-right: 38px;
}
.bj-field-wrap.bj-valid .bj-valid-icon { opacity: 1; }
.bj-field-wrap.bj-invalid .bj-invalid-icon { opacity: 1; }

/* ── 44. SUBMIT BUTTON LOADING SPINNER ───────────────────── */
/* (extends §21 — adds named variant) */
.bj-btn-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 140px;
}
.bj-btn-submit .bj-btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top-color: var(--night, #0E0B1A);
  border-radius: 50%;
  flex-shrink: 0;
  animation: bj-spin 0.7s linear infinite;
}
.bj-btn-submit.is-loading .bj-btn-spinner { display: block; }
.bj-btn-submit.is-loading { pointer-events: none; opacity: 0.75; }

/* ── 45. FILE UPLOAD DRAG-AND-DROP ZONE ──────────────────── */
.bj-dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px dashed rgba(107, 74, 140, 0.45);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.22s;
  cursor: pointer;
}
.bj-dropzone input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
  min-height: unset;
  border: none;
  background: none;
  padding: 0;
}
.bj-dropzone__icon {
  font-size: 32px;
  line-height: 1;
  color: var(--gold, #D4B570);
  opacity: 0.6;
  transition: opacity 0.2s;
}
.bj-dropzone__title {
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--cream, #E8E0D0);
}
.bj-dropzone__hint {
  font-family: 'Inter Tight', sans-serif;
  font-size: 12px;
  color: rgba(232, 224, 208, 0.4);
}
.bj-dropzone:hover,
.bj-dropzone.bj-drag-over {
  border-color: var(--gold, #D4B570);
  background: rgba(212, 181, 112, 0.05);
}
.bj-dropzone.bj-drag-over .bj-dropzone__icon { opacity: 1; }
.bj-dropzone__files {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 4px;
}
.bj-dropzone__file-tag {
  background: rgba(212, 181, 112, 0.12);
  border: 1px solid rgba(212, 181, 112, 0.3);
  border-radius: 4px;
  padding: 3px 8px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 12px;
  color: var(--gold, #D4B570);
}

/* ── 46. RECAPTCHA V3 INVISIBLE ──────────────────────────── */
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  bottom: -100px !important;
}
.bj-recaptcha-notice {
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px;
  color: rgba(232, 224, 208, 0.3);
  margin-top: 12px;
  text-align: center;
  line-height: 1.5;
}
.bj-recaptcha-notice a {
  color: rgba(232, 224, 208, 0.45);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── 47. FORM GROUP DIVIDER DECORATIF ────────────────────── */
.bj-group-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 20px 0 16px;
}
.bj-group-divider::before,
.bj-group-divider::after {
  content: '';
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107, 74, 140, 0.35));
}
.bj-group-divider::after {
  background: linear-gradient(90deg, rgba(107, 74, 140, 0.35), transparent);
}
.bj-group-divider__gem {
  width: 8px;
  height: 8px;
  background: var(--gold, #D4B570);
  transform: rotate(45deg);
  border-radius: 1px;
  opacity: 0.55;
}

/* ── 48. REQUIRED FIELD INDICATOR * GOLD ─────────────────── */
/* (extends §13 — ajoute span variant) */
.bj-required-star,
abbr[title="required"] {
  color: var(--gold, #D4B570);
  font-size: 13px;
  margin-left: 2px;
  text-decoration: none;
  font-style: normal;
}
label .bj-required-star { font-weight: 400; }

/* ── 49. FIELD HINT EXPANDED ON FOCUS ────────────────────── */
.bj-field-hint {
  display: block;
  font-family: 'Inter Tight', sans-serif;
  font-size: 12px;
  color: rgba(232, 224, 208, 0.45);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.2s ease, margin-top 0.2s ease;
  line-height: 1.5;
  padding: 0 2px;
  margin-top: 0;
}
.bj-field-wrap:focus-within .bj-field-hint,
.bj-field-hint.bj-hint-visible {
  max-height: 60px;
  opacity: 1;
  margin-top: 5px;
}

/* ── 50. INPUT HEIGHT COHÉRENCE 40-48px ──────────────────── */
input[type=text],
input[type=email],
input[type=password],
input[type=tel],
input[type=search],
input[type=number],
input[type=date],
select,
.form-control {
  min-height: 44px;
  height: auto;
}
input[type=text].bj-h40,
input[type=email].bj-h40,
input[type=password].bj-h40,
input[type=tel].bj-h40,
select.bj-h40,
.form-control.bj-h40 {
  min-height: 40px;
  padding-top: 9px;
  padding-bottom: 9px;
}
input[type=text].bj-h48,
input[type=email].bj-h48,
input[type=password].bj-h48,
input[type=tel].bj-h48,
select.bj-h48,
.form-control.bj-h48 {
  min-height: 48px;
  padding-top: 14px;
  padding-bottom: 14px;
}

/* ── 51. FORM SECTION CARD VARIANT ───────────────────────── */
.bj-form-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(107, 74, 140, 0.28);
  border-radius: 14px;
  padding: 24px 22px;
  margin-bottom: 20px;
  transition: border-color 0.2s;
}
.bj-form-card:focus-within {
  border-color: rgba(212, 181, 112, 0.3);
}
.bj-form-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(107, 74, 140, 0.2);
}
.bj-form-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(212, 181, 112, 0.1);
  border: 1px solid rgba(212, 181, 112, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold, #D4B570);
  font-size: 16px;
  flex-shrink: 0;
}
.bj-form-card__title {
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--cream, #E8E0D0);
  margin: 0;
}
.bj-form-card__subtitle {
  font-family: 'Inter Tight', sans-serif;
  font-size: 12px;
  color: rgba(232, 224, 208, 0.4);
  margin: 2px 0 0;
}
.bj-form-card--highlight {
  border-color: rgba(212, 181, 112, 0.35);
  background: rgba(212, 181, 112, 0.04);
}

/* ── 52. TOGGLE SWITCH CUSTOM ────────────────────────────── */
.bj-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.bj-toggle__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.bj-toggle__track {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: rgba(107, 74, 140, 0.25);
  border: 1px solid rgba(107, 74, 140, 0.45);
  transition: background 0.25s ease, border-color 0.25s ease;
  flex-shrink: 0;
}
.bj-toggle__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(232, 224, 208, 0.45);
  transition: transform 0.25s cubic-bezier(.4,0,.2,1), background 0.25s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.bj-toggle__input:checked + .bj-toggle__track {
  background: rgba(212, 181, 112, 0.22);
  border-color: rgba(212, 181, 112, 0.6);
}
.bj-toggle__input:checked + .bj-toggle__track .bj-toggle__thumb {
  transform: translateX(20px);
  background: var(--gold, #D4B570);
}
.bj-toggle__input:focus-visible + .bj-toggle__track {
  outline: 2px solid rgba(212, 181, 112, 0.5);
  outline-offset: 2px;
}
.bj-toggle__label {
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  color: var(--cream, #E8E0D0);
}
.bj-toggle--sm .bj-toggle__track { width: 36px; height: 20px; }
.bj-toggle--sm .bj-toggle__thumb { width: 13px; height: 13px; }
.bj-toggle--sm .bj-toggle__input:checked + .bj-toggle__track .bj-toggle__thumb { transform: translateX(16px); }

/* ── 53. MULTI-CHECKBOX GROUP ────────────────────────────── */
.bj-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bj-checkbox-group--row {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.bj-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.bj-checkbox__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.bj-checkbox__box {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid rgba(107, 74, 140, 0.55);
  background: rgba(14, 11, 26, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}
.bj-checkbox__box::after {
  content: '';
  width: 5px;
  height: 9px;
  border: 2px solid transparent;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) scale(0) translateY(-1px);
  transition: transform 0.15s ease, border-color 0.15s;
}
.bj-checkbox__input:checked + .bj-checkbox__box {
  border-color: rgba(212, 181, 112, 0.7);
  background: rgba(212, 181, 112, 0.12);
}
.bj-checkbox__input:checked + .bj-checkbox__box::after {
  border-color: var(--gold, #D4B570);
  transform: rotate(45deg) scale(1) translateY(-1px);
}
.bj-checkbox__input:focus-visible + .bj-checkbox__box {
  outline: 2px solid rgba(212, 181, 112, 0.45);
  outline-offset: 2px;
}
.bj-checkbox__label {
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  color: var(--cream, #E8E0D0);
}

/* ── 54. TAG INPUT (chip-based) ──────────────────────────── */
.bj-tag-input {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 7px 12px;
  background: rgba(14, 11, 26, 0.65);
  border: 1.5px solid rgba(107, 74, 140, 0.45);
  border-radius: 10px;
  cursor: text;
  transition: border-color 0.2s;
}
.bj-tag-input:focus-within {
  border-color: rgba(212, 181, 112, 0.55);
  box-shadow: 0 0 0 3px rgba(212, 181, 112, 0.08);
}
.bj-tag-input__field {
  flex: 1 1 80px;
  min-width: 60px;
  background: none;
  border: none;
  outline: none;
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  color: var(--cream, #E8E0D0);
  padding: 2px 0;
}
.bj-tag-input__field::placeholder { color: rgba(232, 224, 208, 0.3); }
.bj-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px 3px 10px;
  border-radius: 20px;
  background: rgba(107, 74, 140, 0.28);
  border: 1px solid rgba(107, 74, 140, 0.5);
  font-family: 'Inter Tight', sans-serif;
  font-size: 12px;
  color: rgba(232, 224, 208, 0.85);
  white-space: nowrap;
  transition: border-color 0.15s;
}
.bj-tag--gold {
  background: rgba(212, 181, 112, 0.14);
  border-color: rgba(212, 181, 112, 0.4);
  color: var(--gold, #D4B570);
}
.bj-tag__remove {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: rgba(232, 224, 208, 0.4);
  font-size: 13px;
  line-height: 1;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}
.bj-tag__remove:hover { color: rgba(232, 224, 208, 0.9); }

/* ── 55. COMBOBOX CUSTOM ─────────────────────────────────── */
.bj-combobox {
  position: relative;
}
.bj-combobox__control {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 40px 0 14px;
  background: rgba(14, 11, 26, 0.65);
  border: 1.5px solid rgba(107, 74, 140, 0.45);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s;
  position: relative;
}
.bj-combobox__control:focus-within,
.bj-combobox--open .bj-combobox__control {
  border-color: rgba(212, 181, 112, 0.55);
  box-shadow: 0 0 0 3px rgba(212, 181, 112, 0.08);
}
.bj-combobox__input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  color: var(--cream, #E8E0D0);
  min-width: 0;
}
.bj-combobox__input::placeholder { color: rgba(232, 224, 208, 0.3); }
.bj-combobox__arrow {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(212, 181, 112, 0.5);
  pointer-events: none;
  font-size: 12px;
  transition: transform 0.2s;
}
.bj-combobox--open .bj-combobox__arrow {
  transform: translateY(-50%) rotate(180deg);
}
.bj-combobox__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: rgba(18, 13, 32, 0.98);
  border: 1.5px solid rgba(107, 74, 140, 0.45);
  border-radius: 10px;
  overflow: hidden;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  display: none;
}
.bj-combobox--open .bj-combobox__dropdown { display: block; }
.bj-combobox__option {
  padding: 10px 14px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  color: rgba(232, 224, 208, 0.8);
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.bj-combobox__option:hover,
.bj-combobox__option--focused {
  background: rgba(107, 74, 140, 0.2);
  color: var(--cream, #E8E0D0);
}
.bj-combobox__option--selected {
  color: var(--gold, #D4B570);
  background: rgba(212, 181, 112, 0.08);
}
.bj-combobox__empty {
  padding: 12px 14px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px;
  color: rgba(232, 224, 208, 0.35);
  text-align: center;
}

/* ── 56. OTP INPUT CELLS ─────────────────────────────────── */
.bj-otp {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bj-otp__sep {
  color: rgba(107, 74, 140, 0.6);
  font-size: 18px;
  line-height: 1;
}
.bj-otp__cell {
  width: 44px;
  height: 52px;
  text-align: center;
  font-family: 'Inter Tight', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--cream, #E8E0D0);
  background: rgba(14, 11, 26, 0.65);
  border: 1.5px solid rgba(107, 74, 140, 0.45);
  border-radius: 10px;
  outline: none;
  caret-color: var(--gold, #D4B570);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -moz-appearance: textfield;
}
.bj-otp__cell::-webkit-inner-spin-button,
.bj-otp__cell::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.bj-otp__cell:focus {
  border-color: rgba(212, 181, 112, 0.65);
  box-shadow: 0 0 0 3px rgba(212, 181, 112, 0.1);
  background: rgba(212, 181, 112, 0.04);
}
.bj-otp__cell.bj-otp--filled {
  border-color: rgba(212, 181, 112, 0.4);
  background: rgba(212, 181, 112, 0.06);
}
.bj-otp__cell.bj-otp--error {
  border-color: rgba(200, 80, 80, 0.6);
  animation: bj-otp-shake 0.35s ease;
}
@keyframes bj-otp-shake {
  0%,100% { transform: translateX(0); }
  20%,60% { transform: translateX(-4px); }
  40%,80% { transform: translateX(4px); }
}
.bj-otp--sm .bj-otp__cell { width: 36px; height: 44px; font-size: 18px; }
.bj-otp--lg .bj-otp__cell { width: 52px; height: 60px; font-size: 26px; }

/* ── 57. SEARCH INPUT + VOICE ────────────────────────────── */
.bj-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.bj-search-wrap .bj-search-icon {
  position: absolute;
  left: 13px;
  color: rgba(212, 181, 112, 0.45);
  font-size: 15px;
  pointer-events: none;
  line-height: 1;
}
.bj-search-input {
  width: 100%;
  padding: 0 80px 0 40px;
  min-height: 44px;
  background: rgba(14, 11, 26, 0.65);
  border: 1.5px solid rgba(107, 74, 140, 0.45);
  border-radius: 22px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  color: var(--cream, #E8E0D0);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.bj-search-input::placeholder { color: rgba(232, 224, 208, 0.3); }
.bj-search-input:focus {
  border-color: rgba(212, 181, 112, 0.55);
  box-shadow: 0 0 0 3px rgba(212, 181, 112, 0.08);
}
.bj-search-actions {
  position: absolute;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.bj-search-btn {
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(232, 224, 208, 0.4);
  font-size: 14px;
  transition: color 0.15s, background 0.15s;
}
.bj-search-btn:hover {
  color: var(--cream, #E8E0D0);
  background: rgba(107, 74, 140, 0.2);
}
.bj-search-btn--voice { color: rgba(107, 74, 140, 0.7); }
.bj-search-btn--voice:hover { color: rgba(212, 181, 112, 0.9); }
.bj-search-btn--voice.bj-listening {
  color: var(--gold, #D4B570);
  animation: bj-voice-pulse 1.2s ease-in-out infinite;
}
@keyframes bj-voice-pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* ── 58. FIELD ICON PREFIX / SUFFIX ──────────────────────── */
.bj-field-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.bj-field-icon-wrap .bj-field-prefix-icon,
.bj-field-icon-wrap .bj-field-suffix-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(212, 181, 112, 0.5);
  font-size: 15px;
  pointer-events: none;
  line-height: 1;
}
.bj-field-icon-wrap .bj-field-prefix-icon { left: 13px; }
.bj-field-icon-wrap .bj-field-suffix-icon { right: 13px; }
.bj-field-icon-wrap .bj-has-prefix { padding-left: 40px; }
.bj-field-icon-wrap .bj-has-suffix { padding-right: 40px; }
.bj-field-icon-wrap .bj-has-prefix.bj-has-suffix { padding-left: 40px; padding-right: 40px; }
/* Interactive suffix (btn) */
.bj-field-icon-wrap .bj-field-suffix-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(232, 224, 208, 0.35);
  font-size: 14px;
  transition: color 0.15s, background 0.15s;
}
.bj-field-icon-wrap .bj-field-suffix-btn:hover {
  color: var(--cream, #E8E0D0);
  background: rgba(107, 74, 140, 0.2);
}
/* Focus state — icon brightens */
.bj-field-icon-wrap:focus-within .bj-field-prefix-icon,
.bj-field-icon-wrap:focus-within .bj-field-suffix-icon {
  color: rgba(212, 181, 112, 0.75);
}

/* ── 59. CLEAR FIELD BUTTON (×) ──────────────────────────── */
.bj-clearable-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.bj-clearable-wrap .bj-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(107, 74, 140, 0.15);
  border: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  color: rgba(232, 224, 208, 0.5);
  font-size: 11px;
  line-height: 1;
  padding: 0;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.bj-clearable-wrap .bj-clear-btn:hover {
  background: rgba(107, 74, 140, 0.35);
  color: var(--cream, #E8E0D0);
}
.bj-clearable-wrap .bj-clearable:not(:placeholder-shown) ~ .bj-clear-btn,
.bj-clearable-wrap.bj-has-value .bj-clear-btn {
  display: flex;
}
.bj-clearable-wrap .bj-clearable { padding-right: 38px; }


