  /* *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } */

  
  :root {
    --link: var(--adminuiux-theme-1);
    --cream: var(--adminuiux-theme-1-text);
    --gold: #c2c6ca;
    --gold-light: #dee2e6;
    --muted: #8a8278;
    /* --muted: #808080; */
    --surface: #faf7f2;
    --border: #dee2e6;
    --error: #c0392b;
    --rgba: 194,198,202;
  }

  /* html, body {
    font-family: var(--bs-body-font-family);
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
  } */

  /* ── SPLIT LAYOUT ─────────────────────────── */
  .layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
  }

  /* ── LEFT PANEL ────────────────────────────── */
  .panel-left {
    position: relative;
    overflow: hidden;
    background: var(--adminuiux-theme-1);
  }

  .panel-left::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 30% 70%, rgba(201,169,110,0.18) 0%, transparent 65%),
      radial-gradient(ellipse 50% 40% at 80% 20%, rgba(201,169,110,0.10) 0%, transparent 60%);
    pointer-events: none;
  }

  .panel-left-inner {
    position: relative; z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 52px 56px;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .brand-mark {
    width: 36px; height: 36px;
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-style: italic;
  }

  .brand-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--adminuiux-theme-1-text);
  }

  .panel-hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 24px;
  }

  .hero-headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 300;
    line-height: 1.08;
    color: var(--adminuiux-theme-1-text);
    margin-bottom: 28px;
  }

  .hero-headline em {
    font-style: italic;
    color: var(--gold-light);
  }

  .hero-desc {
    font-size: 14px;
    line-height: 1.75;
    color: var(--muted);
    max-width: 340px;
    font-weight: 300;
  }

  .trust-row {
    display: flex;
    gap: 32px;
  }

  .trust-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .trust-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    color: var(--gold);
    font-weight: 300;
  }

  .trust-label {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  /* ── RIGHT PANEL ───────────────────────────── */
  .panel-right {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    justify-content: flex-start;
    align-items: center;
    padding: 48px 56px;
    background: var(--surface);
    overflow-y: auto;
  }

  .form-container {
    display: grid;
    /* place-items: center; */
    /* min-height: 100vh; */
  }

  /* ── TOGGLE TABS ───────────────────────────── */
  .tab-row {
    display: flex;
    background: #eee8df;
    border: 1px solid rgba(var(--adminuiux-theme-1-rgb), 0.85);
    border-radius: 100px;
    padding: 3px;
    margin-bottom: 30px;
    position: relative;
  }

  .tab-slider {
    position: absolute;
    top: 5px; bottom: 5px;
    left: 5px;
    width: calc(50% - 5px);
    background: var(--adminuiux-theme-1);
    border-radius: 100px;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  }

  .tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 10px 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    position: relative; z-index: 1;
    transition: color 0.3s;
    color: var(--muted);
  }

  .tab-btn.active { color: var(--adminuiux-theme-1-text); }

  .form-panel {
    margin: 18px;
  }
  /* ── FORM HEADER ───────────────────────────── */
  .form-header { margin-bottom: 26px; }

  .form-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 300;
    color: var(--adminuiux-theme-1);
    line-height: 1.15;
    margin-bottom: 5px;
  }

  .form-sub {
    font-size: 15px;
    color: var(--muted);
    font-weight: 300;
  }

  /* ── INPUT FIELDS ──────────────────────────── */
  .field {
    margin-bottom: 20px;
  }

  .field-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 9px;
  }

  .input-wrap {
    position: relative;
  }

  .input-wrap .icon {
    position: absolute;
    left: 16px; top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    width: 16px; height: 16px;
    pointer-events: none;
    transition: color 0.2s;
  }

  .field-input {
    width: 100%;
    height: 45px;
    padding: 0 16px 0 44px;
    background: transparent;
    border: 0.5px solid var(--adminuiux-theme-1);
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--adminuiux-theme-1);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
  }

  .field-input:focus {
    border-color: var(--adminuiux-theme-1);
    box-shadow: 0 0 0 4px rgba(var(--rgba), 0.12);
  }

  .field-input:focus + .input-focus-line { transform: scaleX(1); }

  .field-input::placeholder { color: #c4bbb0; }

  .toggle-pw {
    position: absolute;
    right: 14px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none;
    cursor: pointer;
    color: var(--muted);
    padding: 4px;
    display: flex; align-items: center;
    transition: color 0.2s;
  }
  .toggle-pw:hover { color: var(--adminuiux-theme-1); }

  /* ── FIELD ROW (name split) ────────────────── */
  .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }


  /* ── GENDER SWITCH ─────────────────────────── */
  .gender-switch {
    display: flex;
    background: transparent;
    border: 1px solid var(--adminuiux-theme-1);
    border-radius: 10px;
    padding: 4px;
    height: 45px;
    position: relative;
    gap: 0;
  }

  /* .gender-switch-slider {
    position: absolute;
    top: 4px; bottom: 4px;
    left: 4px;
    width: calc((100% - 8px) / 3);
    background: var(--adminuiux-theme-1);
    border-radius: 7px;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
  } */

  .gender-option {
    flex: 1;
    background: none;
    border: none;
    padding: 10px 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    position: relative; z-index: 1;
    transition: color 0.25s;
    color: var(--muted);
    display: flex; align-items: center; justify-content: center; gap: 6px;
    white-space: nowrap;
  }

  .gender-option.active { 
    border-radius: 7px;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    background: var(--adminuiux-theme-1);
    border-color: var(--adminuiux-theme-1);
    color: var(--adminuiux-theme-1-text);
   }
  .gender-option svg { flex-shrink: 0; }




  /* ── TEXTAREA ──────────────────────────────── */
  .textarea-wrap { position: relative; }

  .textarea-wrap .icon {
    position: absolute;
    left: 16px; top: 16px;
    color: var(--muted);
    width: 16px; height: 16px;
    pointer-events: none;
    transition: color 0.2s;
  }

  .field-textarea {
    width: 100%;
    min-height: 130px;
    padding: 14px 16px 14px 44px;
    background: transparent;
    border: 1.5px solid var(--adminuiux-theme-1);
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--adminuiux-theme-1);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    resize: vertical;
    line-height: 1.6;
  }

  .field-textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201,169,110,0.12);
  }

  .field-textarea::placeholder { color: #c4bbb0; }

  /* ── SUBJECT PILLS ─────────────────────────── */
  .subject-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
  }

  .subject-pill {
    padding: 7px 16px;
    border: 1.5px solid var(--adminuiux-theme-1);
    border-radius: 100px;
    background: transparent;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s;
  }

  /* .subject-switch-slider {
    position: absolute;
    top: 4px; bottom: 4px;
    left: 4px;
    width: calc((100% - 8px) / 3);
    background: var(--adminuiux-theme-1);
    border-radius: 7px;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
  } */

  .subject-pill:hover {
    border-color: var(--gold);
    color: var(--adminuiux-theme-1);
  }

  .subject-pill.active {
    background: var(--adminuiux-theme-1);
    border-color: var(--adminuiux-theme-1);
    color: var(--adminuiux-theme-1-text);
  }





  /* ── OPTIONS ROW ───────────────────────────── */
  .options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    margin-top: -4px;
  }

  .remember {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
  }

  .remember input[type="checkbox"] {
    appearance: none;
    width: 17px; height: 17px;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    flex-shrink: 0;
  }

  .remember input[type="checkbox"]:checked {
    background: var(--adminuiux-theme-1);
    border-color: var(--adminuiux-theme-1);
  }

  .remember input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px; top: 1.5px;
    width: 5px; height: 9px;
    border: 2px solid #fff;
    border-left: none; border-top: none;
    transform: rotate(40deg);
  }

  .remember-label {
    font-size: 13px;
    color: var(--muted);
    user-select: none;
  }

  .forgot-link {
    font-size: 13px;
    color: var(--adminuiux-theme-1);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
  }
  .forgot-link:hover { opacity: 0.7; }

  /* ── SUBMIT BUTTON ─────────────────────────── */
  .btn-submit {
    width: 100%;
    height: 45px;
    background: var(--adminuiux-theme-1);
    color: var(--adminuiux-theme-1-text);
    border: none;
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.15s, box-shadow 0.2s;
    margin-bottom: 5px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
  }

  .btn-submit::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(201,169,110,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
  }

  .btn-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(13,13,13,0.2); }
  .btn-submit:hover::before { opacity: 1; }
  .btn-submit:active { transform: translateY(0); }

  .btn-arrow {
    width: 18px; height: 18px;
    border: 1.5px solid rgba(245,240,232,0.4);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }

  /* ── DIVIDER ───────────────────────────────── */
  .divider {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 20px;
  }
  .divider-line { flex: 1; height: 1px; background: var(--border); }
  .divider-text { font-size: 11.5px; color: var(--muted); letter-spacing: 0.05em; }

  /* ── SOCIAL BUTTONS ────────────────────────── */
  .social-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 28px; }

  .btn-social {
    height: 40px;
    background: transparent;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: var(--bs-link-color);
    font-weight: 500;
    transition: border-color 0.2s, box-shadow 0.2s;
  }

  .btn-social:hover { border-color: var(--adminuiux-theme-1); box-shadow: 0 3px 12px rgba(0,0,0,0.06); }

  .btn-social img { width: 18px; height: 18px; }

  /* ── TERMS ─────────────────────────────────── */
  .terms-note {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    line-height: 1.6;
  }

  .terms-note a { color: var(--adminuiux-theme-1); text-decoration: none; }

  /* ── PANEL TRANSITIONS ─────────────────────── */
  /* .form-panel { display: none; }
  .form-panel.active { display: block; animation: fadeSlide 0.35s ease; } */

  @keyframes fadeSlide {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ── DECORATIVE LINES ──────────────────────── */
  .deco-lines {
    position: absolute;
    right: 0; bottom: 0;
    width: 220px; height: 220px;
    opacity: 0.06;
    pointer-events: none;
  }

  /* ── RESPONSIVE ────────────────────────────── */
  @media (max-width: 820px) {
    .layout { grid-template-columns: 1fr; }
    .panel-left { display: none; }
    .panel-right { padding: 40px 28px; }
    .form-container { padding: 0px 18px; }
  }





  /* ── SUCCESS STATE ─────────────────────────── */
  .success-state {
    display: none;
    text-align: center;
    padding: 40px 0;
  }

  .success-state.visible { display: block; animation: fadeSlide 0.4s ease; }
  .form-fields.hidden { display: none; }

  .success-icon {
    width: 64px; height: 64px;
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px;
    color: var(--gold);
  }

  .success-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 300;
    color: var(--ink);
    margin-bottom: 12px;
  }

  .success-sub {
    font-size: 13.5px;
    color: var(--muted);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 32px;
  }

  .btn-reset {
    background: none;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 12px 28px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
  }
  .btn-reset:hover { border-color: var(--gold); color: var(--ink); }





  /* ── DATE PICKER ───────────────────────────── */
  .date-input-wrap { position: relative; }

  .date-input-wrap .icon {
    position: absolute;
    left: 16px; top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    width: 16px; height: 16px;
    pointer-events: none;
    z-index: 1;
  }

  .date-input-wrap .spinner {
    position: absolute;
    left: 16px; top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    width: 16px; height: 16px;
    pointer-events: none;
    z-index: 1;
  }

  .field-date {
    width: 100%;
    height: 45px;
    padding: 0 16px 0 44px;
    background: transparent;
    border: 1.5px solid var(--adminuiux-theme-1);
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--adminuiux-theme-1);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
  }

  .field-date:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201,169,110,0.12);
  }

  .field-date::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 14px;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
  }

  .field-date.has-value { color: var(--adminuiux-theme-1); }
  .field-date:not(.has-value) { color: #c4bbb0; }

  .cal-trigger {
    position: absolute;
    right: 14px; top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
    display: flex; align-items: center;
  }



  
  /* ── DROPDOWN ──────────────────────────────── */
  .select-wrap { position: relative; }

  .select-wrap .icon {
    position: absolute;
    left: 16px; top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    width: 16px; height: 16px;
    pointer-events: none;
  }

  .field-select {
    width: 100%;
    height: 45px;
    padding: 0 44px 0 44px;
    background: var(--adminuiux-bg-1);
    border: 1.5px solid var(--adminuiux-theme-1);
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--adminuiux-theme-1-text);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
  }

  .field-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201,169,110,0.12);
  }

  .field-select.placeholder { color: var(--adminuiux-theme-1); }

  .select-chevron {
    position: absolute;
    right: 14px; top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
    display: flex; align-items: center;
    transition: transform 0.2s;
  }

  .select-wrap:focus-within .select-chevron {
    transform: translateY(-50%) rotate(180deg);
  }






  /* ── FILE UPLOAD ───────────────────────────── */
  .file-upload-area {
    position: relative;
    border: 1.5px dashed var(--adminuiux-theme-1);
    border-radius: 10px;
    background: transparent;
    padding: 20px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    overflow: hidden;
  }

  .file-upload-area:hover {
    border-color: var(--adminuiux-theme-1);
    background: rgba(201,169,110,0.03);
  }

  .file-upload-area.dragover {
    border-color: var(--adminuiux-theme-1);
    box-shadow: 0 0 0 4px rgba(201,169,110,0.12);
    background: rgba(201,169,110,0.05);
  }

  .file-upload-area.has-file {
    border-style: solid;
    border-color: var(--adminuiux-theme-1);
  }

  .file-upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
  }

  .file-upload-icon {
    width: 40px; height: 40px;
    border: 1.5px solid var(--adminuiux-theme-1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--adminuiux-theme-1-text);
    flex-shrink: 0;
    transition: border-color 0.2s, color 0.2s;
    background: var(--adminuiux-theme-1);
  }

  .file-upload-area:hover .file-upload-icon,
  .file-upload-area.has-file .file-upload-icon {
    border-color: var(--adminuiux-theme-1);
    color: var(--adminuiux-theme-1-text);
  }

  .file-upload-text { flex: 1; min-width: 0; }

  .file-upload-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--adminuiux-theme-1);
    display: block;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .file-upload-hint {
    font-size: 11.5px;
    color: var(--muted);
    font-weight: 300;
  }

  .file-upload-btn {
    flex-shrink: 0;
    padding: 7px 14px;
    border: 1.5px solid var(--adminuiux-theme-1);
    border-radius: 7px;
    background: var(--adminuiux-theme-1);
    font-family: 'DM Sans', sans-serif;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--adminuiux-theme-1-text);
    pointer-events: none;
    transition: all 0.2s;
    white-space: nowrap;
  }

  .file-upload-area:hover .file-upload-btn {
    border-color: var(--adminuiux-theme-1);
    color: var(--adminuiux-theme-1-text);
  }

  .file-upload-area.has-file .file-upload-btn {
    background: var(--adminuiux-theme-1);
    border-color: var(--adminuiux-theme-1);
    color: var(--adminuiux-theme-1-text);
  }




.country-option { 
  padding: 16px 24px !important;
  cursor: pointer;
  display: block;
  width: 100%;
}





































/* ── UPLOAD PROGRESS ───────────────────────── */
  .file-progress-wrap {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: rgba(201,169,110,0.15);
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.2s;
  }

  .file-upload-area.uploading .file-progress-wrap,
  .file-upload-area.upload-done .file-progress-wrap {
    opacity: 1;
  }

  .file-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold), #e8c97a);
    border-radius: 0 0 10px 10px;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .file-progress-fill::after {
    content: '';
    position: absolute;
    top: 0; left: -60%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
    animation: uploadShimmer 1.2s linear infinite;
  }

  .file-upload-area.upload-done .file-progress-fill {
    background: linear-gradient(90deg, #7dba8a, #4caf6e);
  }

  .file-upload-area.upload-done .file-progress-fill::after {
    display: none;
  }

  @keyframes uploadShimmer { to { left: 160%; } }

  /* uploading state — dim the icon slightly */
  .file-upload-area.uploading .file-upload-icon {
    border-color: var(--gold);
    color: var(--gold);
  }

  /* ── FILE COUNT BADGE ──────────────────────── */
  .file-count-badge {
    position: absolute;
    top: -7px; right: -7px;
    min-width: 18px; height: 18px;
    padding: 0 5px;
    background: var(--adminuiux-theme-1);
    color: var(--adminuiux-theme-1-text);
    border-radius: 100px;
    font-size: 10px;
    font-weight: 600;
    display: flex; align-items: center; justify-content: center;
    letter-spacing: 0.02em;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
    animation: badgePop 0.2s cubic-bezier(0.34,1.56,0.64,1);
    pointer-events: none;
  }

  @keyframes badgePop {
    from { transform: scale(0.5); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
  }

  .file-upload-icon { position: relative; }

  /* ── LANGUAGE MULTI-SELECT ─────────────────── */
  .lang-box {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    cursor: text;
    transition: border-color 0.2s, box-shadow 0.2s;
    min-height: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    position: relative;
  }

  .lang-box.open,
  .lang-box:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201,169,110,0.12);
  }

  .lang-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px 4px 12px;
    background: #f0ebe2;
    border-radius: 100px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--adminuiux-theme-1);
    white-space: nowrap;
    animation: tagPop 0.18s ease;
  }

  @keyframes tagPop {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
  }

  .lang-tag-remove {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    color: var(--muted);
    transition: color 0.15s;
    line-height: 1;
  }

  .lang-tag-remove:hover { color: var(--adminuiux-theme-1); }

  .lang-search {
    border: none;
    outline: none;
    background: transparent;
    font-family: 'DM Sans', sans-serif;
    font-size: 13.5px;
    color: var(--adminuiux-theme-1);
    min-width: 80px;
    flex: 1;
    padding: 4px 2px;
  }

  .lang-search::placeholder { color: #c4bbb0; }

  .lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0; right: 0;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(13,13,13,0.10);
    z-index: 100;
    max-height: 200px;
    overflow-y: auto;
    padding: 6px;
  }

  .lang-dropdown.open { display: block; animation: fadeSlide 0.18s ease; }

  .lang-option {
    padding: 9px 12px;
    border-radius: 7px;
    font-size: 13px;
    color: var(--adminuiux-theme-1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.15s;
  }

  .lang-option:hover { background: var(--surface); }

  .lang-option.selected { color: var(--muted); }

  .lang-option.selected::after {
    content: '';
    width: 7px; height: 7px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(45deg) translate(-2px, -2px);
    display: inline-block;
  }

  .lang-option.hidden { display: none; }

  .lang-empty {
    padding: 12px;
    text-align: center;
    font-size: 12.5px;
    color: var(--muted);
  }












/* truncated into two lines */
  .text-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}











/* LIGHT */
:root,
[data-bs-theme="light"] {
    --skel-base: #e9ecef;
    --skel-highlight: #f8f9fa;
}

/* DARK */
[data-bs-theme="dark"] {
    --skel-base: rgba(255,255,255,0.08);
    --skel-highlight: rgba(255,255,255,0.15);
}

/* SKELETON */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--skel-base) 25%,
        var(--skel-highlight) 37%,
        var(--skel-base) 63%
    );
    background-size: 400% 100%;
    animation: shimmer 1.2s ease infinite;
    border-radius: 6px;
}

@keyframes shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: 0 0; }
}


.skeleton-img {
    height: 150px;
    /* width: auto; */
    border-radius: 20px;
}

.skeleton-text {
    height: 12px;
    width: 100%;
    margin-bottom: 8px;
    border-radius: 6px;
}

.skeleton-title {
    height: 14px;
    width: 70%;
    margin-bottom: 10px;
}

.skeleton-price {
    height: 16px;
    width: 40%;
}

.skeleton-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

[x-cloak] {
    display: none !important;
}
























