/* =============== Base =============== */
input[type="radio" i] {
  margin-left: 4px;
}

:root {
  --accent: #9b907e;
  --accent-30: rgba(155, 144, 126, 0.30);
  --accent-20: rgba(155, 144, 126, 0.2);
  --shadow-dark: rgba(0, 0, 0, 0.15);
  --shadow-light: rgba(255, 255, 255, 0.8);
  --surface: #FAFAF9;
  --bg: #f6f4f2;
}

/* =============== Layout =============== */
.ac-signup-background {
  position: fixed;
  inset: 0;
  background: no-repeat center center !important;
  background-size: cover !important;
}

.ac-collections-signup-cont {
  width: 540px;
  min-height: 800px;
  padding: 40px;
  border-radius: 12px;
  box-sizing: border-box;
  position: absolute;
  right: 120px;
  top: 80px;
  background: #f6f6f4;
  box-shadow:
    9px 9px 18px var(--shadow-dark),
    -9px -9px 18px var(--shadow-light);
}

.ac-collections-signup-logo {
  color: white;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: bold;
  font-size: 14px;
  position: absolute;
  top: 30px;
  right: 120px;
}

.ac-collections-signup-logo img {
  width: 24px;
}

.ac-collections-background-ad-info {
  font-size: 24px;
  font-weight: 500;
  position: absolute;
  left: 40px;
  bottom: 60px;
  color: white;
}

/* =============== Progress Bar =============== */
.ac-collections-signup-progress {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin: 20px 20px 40px;
  list-style: none;
  padding: 0;
}

.ac-collections-signup-progress > li {
  border-bottom: 4px solid rgba(209, 213, 219, 1);
  color: rgba(156, 163, 175, 1);
  flex-basis: 50%;
  padding-bottom: 5px;
  white-space: nowrap;
}

.ac-collections-signup-progress > li.active {
  border-color: rgba(17, 24, 39, 1);
  color: rgba(17, 24, 39, 1);
}

.ac-collections-signup-progress > li.done {
  border-color: rgba(30, 158, 112, 1);
  color: rgba(30, 158, 112, 1);
}

/* =============== Buttons =============== */
.ac-collections-signup-cont .bx-btn,
.ac-collections-signup-cont .bx-btn-primary,
.ac-collections-signup-cont .bx-btn-secondary,
.ac-collections-signup-cont .bx-btn-outline,
.ac-collections-signup-cont .bx-btn.black {
  border-radius: 8px;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  border: 1px solid var(--accent);
  background: transparent !important;
  color: var(--accent);
  box-shadow:
    6px 6px 12px var(--shadow-dark),
    -6px -6px 12px var(--shadow-light);
  transition: all 150ms ease-in-out;
  margin-bottom: 20px;
  text-transform: lowercase;
}

/* Capitalize only the first letter */
.ac-collections-signup-cont .bx-btn::first-letter,
.ac-collections-signup-cont .bx-btn-primary::first-letter,
.ac-collections-signup-cont .bx-btn-secondary::first-letter,
.ac-collections-signup-cont .bx-btn-outline::first-letter,
.ac-collections-signup-cont .bx-btn.black::first-letter {
  text-transform: uppercase;
}

.ac-collections-signup-cont .bx-btn:hover {
  background: var(--accent-30);
  box-shadow:
    inset 4px 4px 8px rgba(0, 0, 0, 0.08),
    inset -4px -4px 8px rgba(255, 255, 255, 0.9);
}

.ac-collections-signup-cont .bx-btn:active {
  background: var(--accent-20);
  transform: translateY(1px);
  box-shadow:
    inset 6px 6px 12px rgba(0, 0, 0, 0.12),
    inset -6px -6px 12px rgba(255, 255, 255, 0.8);
}

.ac-collections-signup-cont .bx-btn:focus-visible {
  box-shadow:
    0 0 0 4px rgba(155, 144, 126, 0.16),
    6px 6px 12px var(--shadow-dark),
    -6px -6px 12px var(--shadow-light);
}

/* Small + Icon Buttons */
.ac-collections-signup-cont .bx-btn-small {
  height: 2rem;
  font-size: 14px;
  padding: 0 0.75rem;
  text-transform: lowercase; /* lowercase all text */
}

.ac-collections-signup-cont .bx-btn-small::first-letter {
  text-transform: uppercase; /* first letter only */
}

.ac-collections-signup-cont .bx-btn-icon {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  justify-content: center;
}


/* =============== Radio Options =============== */
.ac-signup-radio-option {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  cursor: pointer;
  display: block;
  color: unset !important;
  box-shadow:
    6px 6px 12px var(--shadow-dark),
    -6px -6px 12px var(--shadow-light);
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
}

.ac-signup-radio-option:hover {
  box-shadow:
    inset 4px 4px 8px rgba(0, 0, 0, 0.08),
    inset -4px -4px 8px rgba(255, 255, 255, 0.9);
}

.ac-signup-radio-option .radio-circle {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(156, 163, 175, 1);
  border-radius: 8px;
  padding: 4px;
  box-sizing: border-box;
  background: var(--surface);
  box-shadow:
    inset 2px 2px 5px rgba(0, 0, 0, 0.15),
    inset -2px -2px 5px rgba(255, 255, 255, 0.8);
  transition: all 0.2s ease-in-out;
}

/* Add small white dot on hover or active */
.ac-signup-radio-option:hover .radio-circle::after,
.ac-signup-radio-option.active .radio-circle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: #f6f6f4;
  border-radius: 8px;
  transform: translate(-50%, -50%);
}

/* Hover/active background effect */
.ac-signup-radio-option:hover .radio-circle,
.ac-signup-radio-option.active .radio-circle {
  background: #4b5563;
  box-shadow:
    3px 3px 6px rgba(0, 0, 0, 0.35),
    -3px -3px 6px rgba(255, 255, 255, 0.6);
  transform: scale(1.03);
}

/* =============== Slider (Neumorphic) =============== */
.ui-slider-horizontal {
  background: #f0f0f3 !important;
  border-radius: 10px !important;
  height: 10px !important;
  box-shadow:
    inset 6px 6px 10px rgba(0, 0, 0, 0.15),
    inset -6px -6px 10px rgba(255, 255, 255, 0.8);
  border: none !important;
}

.ui-slider-horizontal .ui-slider-range {
  background: #d1d9e6 !important;
  border-radius: 10px;
}

.ui-slider-handle {
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: #f0f0f3 !important;
  border: none !important;
  top: -6px !important;
  box-shadow:
    6px 6px 10px rgba(0, 0, 0, 0.15),
    -6px -6px 10px rgba(255, 255, 255, 0.9);
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.ui-slider-handle:hover {
  box-shadow:
    2px 2px 5px rgba(0, 0, 0, 0.2),
    -2px -2px 5px rgba(255, 255, 255, 0.9);
}

.ui-slider-handle:active {
  box-shadow:
    inset 2px 2px 5px rgba(0, 0, 0, 0.2),
    inset -2px -2px 5px rgba(255, 255, 255, 0.9);
}

.ac-type-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border-radius: 30px;
  padding: 8px;
  cursor: default;
  width: fit-content;
  margin: 20px auto 40px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  box-shadow:
    8px 8px 20px var(--shadow-dark),
    -8px -8px 20px var(--shadow-light);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
  -webkit-tap-highlight-color: transparent;
}

.ac-type-switch > div {
  background: transparent !important;
  border-radius: 22px;
  padding: 6px 18px;
  font-weight: 500;
  color: #6b7280;
  box-shadow:
    4px 4px 10px rgba(0, 0, 0, 0.08),
    -4px -4px 10px rgba(255, 255, 255, 0.9);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  text-align: center;
  white-space: nowrap;
}

.ac-type-switch > div:hover {
  box-shadow:
    inset 4px 4px 10px rgba(0, 0, 0, 0.16),
    inset -4px -4px 10px rgba(255, 255, 255, 0.9);
  transform: translateY(1px);
  background: linear-gradient(180deg, #eae6df 0%, #e6e2db 100%);
  color: var(--accent);
}

.ac-type-switch > div.active {
  background: transparent;
  color: var(--accent);
  box-shadow:
    inset 5px 5px 12px rgba(0, 0, 0, 0.18),
    inset -5px -5px 12px rgba(255, 255, 255, 0.85);
  transform: translateY(1px);
  font-weight: 600;
  cursor: default;
}

.ac-type-switch > div:focus {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(155, 144, 126, 0.22),
    inset 4px 4px 10px rgba(0, 0, 0, 0.12),
    inset -4px -4px 10px rgba(255, 255, 255, 0.88);
}

/* =============== Dropdown (Chosen) =============== */
.chosen-container-single {
  margin-top: 10px;
  width: 100% !important;
  background: var(--bg);
  border: 1px solid var(--accent);
  text-align: center;
  border-radius: 8px;
  box-shadow:
    inset 3px 3px 6px rgba(0, 0, 0, 0.1),
    inset -3px -3px 6px rgba(255, 255, 255, 0.9);
}

.chosen-single {
  background: var(--bg) !important; /* base background */
  line-height: 40px !important;
  text-align: center !important;
  padding: 6px 2px;
  height: 40px !important;
  border: none !important;
  border-radius: 12px !important;
  box-shadow:
    6px 6px 12px rgba(0, 0, 0, 0.15),
    -6px -6px 12px rgba(255, 255, 255, 0.7) !important;
  transition: 0.2s ease;
}

.chosen-single:active,
.chosen-single:focus {
  box-shadow:
    inset 4px 4px 8px rgba(0, 0, 0, 0.15),
    inset -4px -4px 8px rgba(255, 255, 255, 0.7) !important;
}


.chosen-results {
  text-align: left;
}

/* =============== Responsive =============== */
.bx-media-phone .ac-signup-background {
  position: relative;
  height: 128px;
  display: none;
}

.bx-media-phone .ac-collections-signup-logo {
  right: 20px;
  top: 20px;
}

.bx-media-phone .ac-collections-background-ad-info {
  font-size: 11px;
  left: 20px;
  bottom: 20px;
}

.bx-media-phone .ac-collections-signup-cont {
  position: static;
  width: 100%;
  padding: 20px;
  min-height: auto;
}
