/* Figma-based UI Design System */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');

/* Match Tailwind's layer order so `@layer components` below sits under utilities (see Buttons). */
@layer properties, theme, base, components, utilities;

/* Design tokens from Figma */
:root {
  /* Brand Colors (from Figma Login & Applicants frames) */
  --figma-primary: #007BFF; /* Blue */
  --figma-primary-hover: #0067D8; /* darker blue */
  --figma-secondary: #A6CE39; /* Lime green */
  --figma-secondary-hover: #94B832; /* darker lime */
  --figma-accent: #8B5CF6; /* Purple */
  --figma-accent-hover: #7C3AED; /* darker purple */
  
  /* Text Colors */
  --figma-text: #121212;
  --figma-text-secondary: #474747;
  --figma-text-muted: #8F8F8F;
  
  /* Neutral Colors */
  --figma-border: #E9E9E9;
  --figma-border-light: #EAEAEA;
  --figma-background: #FFFFFF;
  --figma-background-page: #EBF5FF;
  --figma-background-alt: #F4F7FB;
  
  /* Status Colors */
  --figma-success: #A6CE39;
  --figma-info: #3B9EFF;
  --figma-warning: #F59E0B;
  --figma-error: #E7664F;
  
  /* Shadows */
  --figma-shadow: 10px 10px 30px 10px rgba(0, 0, 0, 0.03);
  --figma-shadow-hover: 10px 10px 30px 10px rgba(0, 0, 0, 0.1);
  
  /* Radius */
  --figma-radius-button: 100px;
  --figma-radius-card: 20px;
  --figma-radius-input: 100px;
  --figma-radius-small: 10px;

  /* Buttons */
  --figma-btn-font: "InterVariable", "Inter", system-ui, -apple-system, sans-serif;
  --figma-btn-font-display: "TT Travels Medium", "InterVariable", "Inter", sans-serif;
  --figma-primary-active: #005CC4;
  --figma-primary-soft: #EBF5FF;
  --figma-primary-soft-hover: #D6EAFF;
  --figma-neutral: #212121;
  --figma-neutral-hover: #333333;
  --figma-success-hover: #94B832;
  --figma-warning-hover: #D98A08;
  --figma-info-hover: #2589EE;
  --figma-error-hover: #D6553E;
}

/* Figma Input Styling */
.figma-input {
  height: 44px;
  padding: 0 15px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #212121;
  background-color: #FFFFFF;
  border: 1px solid #E9E9E9;
  border-radius: 100px;
  transition: all 0.2s ease;
  outline: none;
}

/* Textarea specific styling */
textarea.figma-input {
  height: auto;
  padding: 12px 20px;
  border-radius: 20px;
  line-height: 1.5;
  resize: vertical;
}

.figma-input::placeholder {
  color: #8F8F8F;
}

.figma-input:focus {
  border-color: var(--figma-primary);
}

.figma-input:hover:not(:focus):not(:disabled) {
  border-color: #D2D2D2;
}

/* Disabled state */
.figma-input:disabled {
  background-color: #F5F5F5;
  color: #BFBFBF;
  cursor: not-allowed;
}

.figma-input:disabled::placeholder {
  color: #BFBFBF;
}

/* Figma Select/Dropdown */
.figma-select {
  height: 44px;
  padding: 0 48px 0 15px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #8F8F8F;
  background-color: #FFFFFF;
  border: 1px solid #E9E9E9;
  border-radius: 100px;
  transition: all 0.2s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 9L12 14L17 9' stroke='%23212121' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 24px;
  cursor: pointer;
  outline: none;
}

.figma-select:focus {
  border-color: var(--figma-primary);
}

/* =========================================================================
   Buttons
   -------------------------------------------------------------------------
   Rendered by UiBuilder#button / #submit_button / #icon_button, or used
   directly as classes on <a>, <button> and <input type="submit">.

   Base:      .figma-btn                     (defaults to the primary look)
   Variants:  .figma-btn-primary  .figma-btn-secondary  .figma-btn-outline
              .figma-btn-ghost    .figma-btn-link       .figma-btn-neutral
              .figma-btn-accent   .figma-btn-success    .figma-btn-warning
              .figma-btn-info     .figma-btn-error
   Modifier:  .figma-btn-soft     tinted background for the coloured variants
   Sizes:     .figma-btn-xs 28px  .figma-btn-sm 36px  (default) 44px
              .figma-btn-lg 56px  .figma-btn-xl 64px (display font, hero CTAs)
   Shapes:    .figma-btn-icon     icon-only, square (pill radius => circle)
              .figma-btn-block    full width
   States:    :hover  :active  :focus-visible  :disabled  [aria-disabled="true"]
              .figma-btn-loading  spinner, blocks clicks

   Every rule lives in the `components` cascade layer so plain Tailwind
   utilities on the element (`w-full`, `h-[48px]`, `hidden`, `mt-3`, ...)
   still win without needing `!important`.
   ========================================================================= */
@layer components {
  .figma-btn {
    /* size tokens (overridden by size classes) */
    --btn-h: 44px;
    --btn-px: 24px;
    --btn-fs: 14px;
    --btn-icon: 18px;
    --btn-gap: 8px;
    /* colour tokens (overridden by variant classes) */
    --btn-bg: var(--figma-primary);
    --btn-bg-hover: var(--figma-primary-hover);
    --btn-bg-active: var(--figma-primary-active);
    --btn-fg: #FFFFFF;
    --btn-fg-hover: var(--btn-fg);
    --btn-border: transparent;
    --btn-border-hover: transparent;
    --btn-shadow: none;
    --btn-shadow-hover: 0 4px 12px rgba(0, 123, 255, 0.28);
    --btn-ring: var(--figma-primary);

    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--btn-gap);
    box-sizing: border-box;
    height: var(--btn-h);
    padding: 0 var(--btn-px);
    margin: 0;
    font-family: var(--figma-btn-font);
    font-size: var(--btn-fs);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;      /* labels never wrap inside the fixed height; use `whitespace-normal` to opt out */
    flex-shrink: 0;
    color: var(--btn-fg);
    background-color: var(--btn-bg);
    border: 1px solid var(--btn-border);
    border-radius: var(--figma-radius-button);
    box-shadow: var(--btn-shadow);
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    appearance: none;
    vertical-align: middle;
    outline: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease,
                box-shadow 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
  }

  /* ---- interaction states ------------------------------------------------ */
  .figma-btn:hover:not(:disabled):not([aria-disabled="true"]):not(.figma-btn-loading) {
    color: var(--btn-fg-hover);
    background-color: var(--btn-bg-hover);
    border-color: var(--btn-border-hover);
    box-shadow: var(--btn-shadow-hover);
  }

  .figma-btn:active:not(:disabled):not([aria-disabled="true"]):not(.figma-btn-loading) {
    background-color: var(--btn-bg-active);
    box-shadow: var(--btn-shadow);
    transform: scale(0.98);
  }

  .figma-btn:focus-visible {
    outline: 2px solid var(--btn-ring);
    outline-offset: 2px;
  }

  .figma-btn:disabled,
  .figma-btn[aria-disabled="true"],
  .figma-btn.figma-btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
  }

  /* links cannot be natively disabled: block the click as well */
  .figma-btn[aria-disabled="true"],
  .figma-btn.figma-btn-disabled {
    pointer-events: none;
  }

  .figma-btn.figma-btn-loading {
    color: transparent;
    pointer-events: none;
  }

  .figma-btn.figma-btn-loading > * {
    visibility: hidden;
  }

  .figma-btn.figma-btn-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--btn-icon);
    height: var(--btn-icon);
    margin: calc(var(--btn-icon) / -2) 0 0 calc(var(--btn-icon) / -2);
    border: 2px solid var(--btn-fg);
    border-right-color: transparent;
    border-radius: 50%;
    animation: figma-btn-spin 0.7s linear infinite;
  }

  @keyframes figma-btn-spin {
    to { transform: rotate(360deg); }
  }

  /* ---- icons ------------------------------------------------------------- */
  .figma-btn svg,
  .figma-btn img {
    width: var(--btn-icon);
    height: var(--btn-icon);
    flex-shrink: 0;
  }

  /* ---- sizes ------------------------------------------------------------- */
  .figma-btn-xs { --btn-h: 28px; --btn-px: 12px; --btn-fs: 12px; --btn-icon: 14px; --btn-gap: 6px; }
  .figma-btn-sm { --btn-h: 36px; --btn-px: 16px; --btn-fs: 13px; --btn-icon: 16px; --btn-gap: 6px; }
  .figma-btn-md { --btn-h: 44px; --btn-px: 24px; --btn-fs: 14px; --btn-icon: 18px; --btn-gap: 8px; }
  .figma-btn-lg { --btn-h: 56px; --btn-px: 32px; --btn-fs: 16px; --btn-icon: 20px; --btn-gap: 10px; }
  .figma-btn-xl {
    --btn-h: 64px; --btn-px: 40px; --btn-fs: 18px; --btn-icon: 22px; --btn-gap: 10px;
    font-family: var(--figma-btn-font-display);
    letter-spacing: -0.03em;
  }

  /* ---- shapes ------------------------------------------------------------ */
  .figma-btn-icon {
    --btn-px: 0;
    width: var(--btn-h);
    padding: 0;
  }

  .figma-btn-block {
    width: 100%;
  }

  /* ---- variants ---------------------------------------------------------- */
  .figma-btn-primary {
    --btn-bg: var(--figma-primary);
    --btn-bg-hover: var(--figma-primary-hover);
    --btn-bg-active: var(--figma-primary-active);
    --btn-fg: #FFFFFF;
    --btn-border: transparent;
    --btn-border-hover: transparent;
    --btn-shadow: none;
    --btn-shadow-hover: 0 4px 12px rgba(0, 123, 255, 0.28);
    --btn-ring: var(--figma-primary);
  }

  .figma-btn-secondary {
    --btn-bg: #FFFFFF;
    --btn-bg-hover: #F7F7F7;
    --btn-bg-active: #EFEFEF;
    --btn-fg: var(--figma-neutral);
    --btn-border: var(--figma-border);
    --btn-border-hover: #D9D9D9;
    --btn-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    --btn-shadow-hover: 0 2px 8px rgba(0, 0, 0, 0.08);
    --btn-ring: var(--figma-primary);
  }

  .figma-btn-outline {
    --btn-bg: transparent;
    --btn-bg-hover: var(--figma-primary-soft);
    --btn-bg-active: var(--figma-primary-soft-hover);
    --btn-fg: var(--figma-primary);
    --btn-border: var(--figma-primary);
    --btn-border-hover: var(--figma-primary-hover);
    --btn-shadow: none;
    --btn-shadow-hover: none;
    --btn-ring: var(--figma-primary);
  }

  .figma-btn-ghost {
    --btn-bg: transparent;
    --btn-bg-hover: rgba(18, 18, 18, 0.06);
    --btn-bg-active: rgba(18, 18, 18, 0.1);
    --btn-fg: var(--figma-text-secondary);
    --btn-fg-hover: var(--figma-text);
    --btn-border: transparent;
    --btn-border-hover: transparent;
    --btn-shadow: none;
    --btn-shadow-hover: none;
    --btn-ring: var(--figma-primary);
  }

  .figma-btn-link {
    --btn-bg: transparent;
    --btn-bg-hover: transparent;
    --btn-bg-active: transparent;
    --btn-fg: var(--figma-primary);
    --btn-fg-hover: var(--figma-primary-hover);
    --btn-border: transparent;
    --btn-border-hover: transparent;
    --btn-shadow: none;
    --btn-shadow-hover: none;
    --btn-ring: var(--figma-primary);
    --btn-px: 4px;
    height: auto;
  }

  .figma-btn-link:hover:not(:disabled):not([aria-disabled="true"]) {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .figma-btn-neutral {
    --btn-bg: var(--figma-neutral);
    --btn-bg-hover: var(--figma-neutral-hover);
    --btn-bg-active: #000000;
    --btn-fg: #FFFFFF;
    --btn-border: transparent;
    --btn-border-hover: transparent;
    --btn-shadow: none;
    --btn-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.2);
    --btn-ring: var(--figma-neutral);
  }

  .figma-btn-accent {
    --btn-bg: var(--figma-accent);
    --btn-bg-hover: var(--figma-accent-hover);
    --btn-bg-active: #6D28D9;
    --btn-fg: #FFFFFF;
    --btn-border: transparent;
    --btn-border-hover: transparent;
    --btn-shadow: none;
    --btn-shadow-hover: 0 4px 12px rgba(139, 92, 246, 0.3);
    --btn-ring: var(--figma-accent);
  }

  .figma-btn-success {
    --btn-bg: var(--figma-success);
    --btn-bg-hover: var(--figma-success-hover);
    --btn-bg-active: #82A22C;
    --btn-fg: var(--figma-text);           /* lime is light: dark text for contrast */
    --btn-border: transparent;
    --btn-border-hover: transparent;
    --btn-shadow: none;
    --btn-shadow-hover: 0 4px 12px rgba(166, 206, 57, 0.35);
    --btn-ring: var(--figma-success);
  }

  .figma-btn-warning {
    --btn-bg: var(--figma-warning);
    --btn-bg-hover: var(--figma-warning-hover);
    --btn-bg-active: #B45309;
    --btn-fg: var(--figma-text);           /* amber is light: dark text for contrast */
    --btn-border: transparent;
    --btn-border-hover: transparent;
    --btn-shadow: none;
    --btn-shadow-hover: 0 4px 12px rgba(245, 158, 11, 0.3);
    --btn-ring: var(--figma-warning);
  }

  .figma-btn-info {
    --btn-bg: var(--figma-info);
    --btn-bg-hover: var(--figma-info-hover);
    --btn-bg-active: #1D7BE0;
    --btn-fg: #FFFFFF;
    --btn-border: transparent;
    --btn-border-hover: transparent;
    --btn-shadow: none;
    --btn-shadow-hover: 0 4px 12px rgba(59, 158, 255, 0.3);
    --btn-ring: var(--figma-info);
  }

  .figma-btn-error {
    --btn-bg: var(--figma-error);
    --btn-bg-hover: var(--figma-error-hover);
    --btn-bg-active: #C44A34;
    --btn-fg: #FFFFFF;
    --btn-border: transparent;
    --btn-border-hover: transparent;
    --btn-shadow: none;
    --btn-shadow-hover: 0 4px 12px rgba(231, 102, 79, 0.3);
    --btn-ring: var(--figma-error);
  }

  /* ---- soft (tinted) modifier: pairs with any coloured variant ----------- */
  .figma-btn-soft,
  .figma-btn-primary.figma-btn-soft {
    --btn-bg: var(--figma-primary-soft);
    --btn-bg-hover: var(--figma-primary-soft-hover);
    --btn-bg-active: #C2E0FF;
    --btn-fg: var(--figma-primary-hover);
    --btn-fg-hover: var(--figma-primary-hover);
    --btn-border: transparent;
    --btn-border-hover: transparent;
    --btn-shadow: none;
    --btn-shadow-hover: none;
  }

  .figma-btn-neutral.figma-btn-soft,
  .figma-btn-secondary.figma-btn-soft {
    --btn-bg: #F3F4F6;
    --btn-bg-hover: #E5E7EB;
    --btn-bg-active: #D1D5DB;
    --btn-fg: var(--figma-neutral);
    --btn-fg-hover: var(--figma-neutral);
  }

  .figma-btn-accent.figma-btn-soft {
    --btn-bg: #EDE9FE;
    --btn-bg-hover: #DDD6FE;
    --btn-bg-active: #C4B5FD;
    --btn-fg: #5B21B6;
    --btn-fg-hover: #5B21B6;
  }

  .figma-btn-success.figma-btn-soft {
    --btn-bg: #DCFCE7;
    --btn-bg-hover: #BBF7D0;
    --btn-bg-active: #86EFAC;
    --btn-fg: #166534;
    --btn-fg-hover: #166534;
  }

  .figma-btn-warning.figma-btn-soft {
    --btn-bg: #FEF3C7;
    --btn-bg-hover: #FDE68A;
    --btn-bg-active: #FCD34D;
    --btn-fg: #92400E;
    --btn-fg-hover: #92400E;
  }

  .figma-btn-info.figma-btn-soft {
    --btn-bg: #DBEAFE;
    --btn-bg-hover: #BFDBFE;
    --btn-bg-active: #93C5FD;
    --btn-fg: #1E40AF;
    --btn-fg-hover: #1E40AF;
  }

  .figma-btn-error.figma-btn-soft {
    --btn-bg: #FEE2E2;
    --btn-bg-hover: #FECACA;
    --btn-bg-active: #FCA5A5;
    --btn-fg: #991B1B;
    --btn-fg-hover: #991B1B;
  }
}

/* -------------------------------------------------------------------------
   DaisyUI `.btn` bridge
   Legacy views still use DaisyUI buttons. Align them with the Figma scale and
   pill shape so both systems look the same side by side. Only DaisyUI's own
   CSS variables are set (plus type), so utilities such as `h-[56px]`,
   `rounded-[8px]` or `px-6` on those buttons keep working.
   ------------------------------------------------------------------------- */
.btn {
  --radius-field: var(--figma-radius-button);
  --size: 44px;
  --btn-p: 20px;
  --fontsize: 14px;
  gap: 8px;
  font-family: var(--figma-btn-font);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.btn-xs { --size: 28px; --btn-p: 12px; --fontsize: 12px; }
.btn-sm { --size: 36px; --btn-p: 16px; --fontsize: 13px; }
.btn-md { --size: 44px; --btn-p: 20px; --fontsize: 14px; }
.btn-lg { --size: 56px; --btn-p: 28px; --fontsize: 16px; }
.btn-xl { --size: 64px; --btn-p: 36px; --fontsize: 18px; }

/* Figma Card */
.figma-card {
  background-color: var(--figma-background);
  border: 1px solid var(--figma-border);
  border-radius: var(--figma-radius-card);
  box-shadow: var(--figma-shadow);
  overflow: hidden;
  transition: all 0.2s ease;
}

.figma-card:hover {
  box-shadow: var(--figma-shadow-hover);
}

.figma-card .figma-card-body {
  padding: 40px;
}

.figma-card .figma-card-header {
  padding: 20px 30px;
  border-bottom: 1px solid var(--figma-border);
  font-family: 'TT_Travels_Medium', sans-serif;
  font-size: 18px;
  letter-spacing: -0.54px;
  color: var(--figma-text);
}

.figma-card .figma-card-footer {
  padding: 20px 30px;
  border-top: 1px solid var(--figma-border);
}

/* Figma Form Group (for inputs with labels) */
.figma-form-group {
  margin-bottom: 24px;
}

.figma-form-group .figma-label {
  display: block;
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.32px;
  color: #929292;
}

.figma-form-group .figma-help-text {
  display: block;
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.32px;
  color: #929292;
}


/* Figma Badge */
.figma-badge {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: -0.2px;
  border-radius: var(--figma-radius-button);
}

.figma-badge.figma-badge-dark {
  color: #FFFFFF;
  background-color: var(--figma-text);
}

.figma-badge.figma-badge-primary {
  color: #FFFFFF;
  background-color: var(--figma-primary);
}

.figma-badge.figma-badge-secondary {
  color: #4B5563;
  background-color: #F3F4F6;
}

.figma-badge.figma-badge-success {
  color: #166534;
  background-color: #DCFCE7;
}

.figma-badge.figma-badge-warning {
  color: #92400E;
  background-color: #FEF3C7;
}

.figma-badge.figma-badge-error {
  color: #991B1B;
  background-color: #FEE2E2;
}

.figma-badge.figma-badge-info {
  color: #1E40AF;
  background-color: #DBEAFE;
}

.figma-badge .figma-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  margin-right: 8px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 10px;
}

/* Figma Priority indicators */
.figma-priority {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  letter-spacing: -0.28px;
}

.figma-priority.figma-priority-high {
  color: var(--figma-error);
}

.figma-priority.figma-priority-medium {
  background: linear-gradient(96.88deg, var(--figma-primary) 0.29%, var(--figma-primary-hover) 108.34%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.figma-priority.figma-priority-low {
  color: var(--figma-success);
}

/* Figma layout helpers */
.figma-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 30px;
  background-color: var(--figma-background-page);
}

.figma-sidebar {
  width: 380px;
  background-color: var(--figma-background);
  border: 1px solid var(--figma-border);
  border-radius: var(--figma-radius-card);
  box-shadow: var(--figma-shadow);
}

/* Figma grid for cards */
.figma-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(296px, 1fr));
  gap: 20px;
}

input[type="radio"]:checked {
  background-color: var(--figma-primary);
}

input[type="checkbox"]:checked {
  background-color: var(--figma-primary);
}

/* Hide default date input calendar icon */
input[type="date"]::-webkit-calendar-picker-indicator {
  display: none;
  -webkit-appearance: none;
}

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-outer-spin-button {
  display: none;
  -webkit-appearance: none;
}

/* For Firefox */
input[type="date"] {
  -moz-appearance: textfield;
}

/* Figma validation feedback */
.figma-input.border-green-300 {
  border-color: var(--figma-success);
}

.figma-input.border-red-300 {
  border-color: var(--figma-error);
}

.figma-input.focus\:border-green-500:focus {
  border-color: var(--figma-success);
}

.figma-input.focus\:border-red-500:focus {
  border-color: var(--figma-error);
}

/* Figma-specific Choices.js styling */
.figma-choices .choices__inner {
  min-height: 44px;
  padding: 0 15px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #212121;
  background-color: #FFFFFF;
  border: 1px solid #E9E9E9;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.figma-choices.is-focused .choices__inner {
  border-color: var(--figma-primary);
}

.figma-choices .choices__list--multiple {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0;
}

.figma-choices .choices__list--multiple .choices__item {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  padding-right: 4px;
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #FFFFFF;
  background-color: var(--figma-primary);
  border: none;
  border-radius: 100px;
  position: relative;
}

.figma-choices .choices__list--multiple .choices__item.is-highlighted {
  background-color: var(--figma-primary-hover);
}

.figma-choices .choices__list--multiple .choices__item button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-left: 4px;
  padding: 0;
  background: rgba(255, 255, 255, 0.2) !important;
  background-image: none !important;
  border: none;
  border-radius: 50%;
  opacity: 0.8;
  color: #FFFFFF;
  font-size: 0;
  line-height: 1;
  text-indent: -9999px;
  overflow: hidden;
  position: relative;
}

.figma-choices .choices__list--multiple .choices__item button:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.3) !important;
}

/* Override the background image for the remove button */
.figma-choices .choices__list--multiple .choices__item button::after {
  content: '×';
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  font-weight: normal;
  color: #FFFFFF;
  text-indent: 0;
}

.figma-choices .choices__input {
  padding: 0;
  margin: 0;
  min-height: 28px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #212121;
  background: none;
  border: none;
}

.figma-choices .choices__placeholder {
  color: #8F8F8F;
  opacity: 1;
}

/* Dropdown styling */
.figma-choices .choices__list--dropdown {
  margin-top: 8px;
  background-color: #FFFFFF;
  border: 1px solid #E5E5E5;
  border-radius: 20px;
  box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.12);
}

.figma-choices .choices__list--dropdown .choices__item {
  padding: 12px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #212121;
}

.figma-choices .choices__list--dropdown .choices__item--selectable.is-highlighted {
  background-color: #F5F5F5;
}

/* Height variants for figma-choices */
.figma-choices-h-16 .choices__inner {
  min-height: 64px;
  padding: 0 24px;
  border-radius: 100px;
}

/* Appointment Scheduling Styles */
.appointment-time-slot {
  cursor: pointer;
  background-color: white;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
}

.appointment-time-slot:hover {
  border-color: var(--figma-primary);
}

.appointment-time-slot.selected {
  background-color: var(--figma-primary);
  border-color: transparent;
}

.appointment-time-slot .time-slot-time {
  font-family: 'TT_Travels_Medium', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--figma-primary);
  white-space: nowrap;
}

.appointment-time-slot.selected .time-slot-time {
  color: white;
}

.appointment-time-slot .time-slot-day,
.appointment-time-slot .time-slot-date {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  color: #666666;
  line-height: 1.2;
}

.appointment-time-slot.selected .time-slot-day,
.appointment-time-slot.selected .time-slot-date {
  color: white;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .appointment-time-slot {
    height: 80px;
    padding: 8px;
  }
  
  .appointment-time-slot .time-slot-time {
    font-size: 14px;
  }
}
