/* ============================================================
   Neumorphism Signup Flow
   File: neumorphism-signup-flow.css
   ============================================================ */

/* =============== Layout Visibility Tweaks =============== */
body:not(.ac-fullpage) .leftNavContainer,
body:not(.ac-fullpage) .ac-artsyapi-footer-menu {
  display: none !important;
}

.bx-media-phone body:not(.ac-fullpage) {
  padding-bottom: 0 !important;
}

/* =============== Structure & Layout =============== */
.ac-collections-form-title,
.ac-collections-background-bottom,
.ac-collections-extra-info {
  display: none;
}

.ac-signup-top-img {
  height: 100%;
  background: no-repeat center center;
  background-size: cover;
  position: relative;
}

.bx-media-phone .ac-signup-top-img {
  display: none;
}

/* =============== Logo =============== */
.ac-signup-logo {
  position: absolute;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: bold;
  right: 10px;
  top: 10px;
}

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

.bx-media-phone .ac-signup-logo {
  left: 0;
  justify-content: center;
}

/* =============== Flow Wrapper =============== */
.ac-signup-flow-wrapper {
  width: 100vw;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background: #f6f4f2;
}

.ac-signup-flow-wrapper > div {
  max-width: 1200px;
}

.ac-signup-flow-wrapper .cont {
  padding-top: 60px;
}

.bx-media-phone .ac-signup-flow-wrapper {
  align-items: flex-start;
  margin-top: 0;
}

.bx-media-phone .ac-signup-flow-wrapper .cont {
  padding: 60px 40px 0;
  box-sizing: border-box;
  max-width: 100vw;
}

/* =============== Step Layouts =============== */
.ac-signup-flow-wrapper .step1 {
  display: flex;
  width: 100%;
  align-items: stretch;
}

.ac-signup-flow-wrapper .step1 > div {
  width: 50%;
  text-align: center;
}

.bx-media-phone .ac-signup-flow-wrapper .step1 {
  flex-direction: column;
}

.bx-media-phone .ac-signup-flow-wrapper .step1 > div {
  width: 100%;
}

/* =============== Buttons =============== */
.ac-signup-flow-wrapper .bottom-buttons {
  margin-top: 150px;
  text-align: right;
}

.ac-signup-flow-wrapper .bottom-buttons .bx-btn {
  display: inline-block;
  float: none;
}

.ac-signup-flow-wrapper .step2 .bottom-buttons {
  display: flex;
  justify-content: space-between;
}

.ac-signup-flow-wrapper .step2 .bottom-buttons > * {
  min-width: 150px;
  text-align: center;
}

.bx-media-phone .ac-signup-flow-wrapper .step2 .bottom-buttons > * {
  min-width: unset;
  width: 45%;
}

/* =============== Button Variants =============== */
.bx-btn-secondary {
  background: white;
  border: 1px solid #101726;
  color: #101726;
  transition: all 0.15s ease-in-out;
}

.bx-btn-secondary:hover {
  border-color: #101726;
  box-shadow:
    inset 3px 3px 6px rgba(0,0,0,0.1),
    inset -3px -3px 6px rgba(255,255,255,0.9);
}

/* Main Signup Buttons */
.ac-signup-buttons {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.ac-signup-buttons .bx-btn {
  margin: 0;
  text-transform: none !important;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  height: 44px;
  width: 200px;
}

/* =============== Inputs & Selects =============== */
#ac_collections .bx-form-input-autotoken {
  border: none !important;
  width: 100% !important;
}

#ac_collections input[type=text],
#ac_collections input[type=datepicker],
#ac_collections select {
  border: 2px solid #111827 !important;
  border-radius: 6px !important;
  background: #f6f4f2;
  box-shadow:
    inset 2px 2px 5px rgba(0,0,0,0.1),
    inset -2px -2px 5px rgba(255,255,255,0.9);
}

#ac_collections input:focus,
#ac_collections select:focus {
  border-color: #2D5BFF !important;
  outline: none;
}

#ac_collections .bx-form-input-wrapper {
  border: none !important;
}

/* =============== Checkbox Wrappers =============== */
.checkbox-wrapper {
  border-radius: 6px;
  padding: 10px;
  margin: 10px 0;
  box-shadow:
    6px 6px 12px rgba(0,0,0,0.15),
    -6px -6px 12px rgba(255,255,255,0.8);
}

.checkbox-wrapper.select-all {
  border-color: transparent;
  box-shadow: none;
}

/* Custom Checkbox Core */
.custom-checkbox {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.custom-checkbox + label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  font-size: 14px;
  font-weight: 500;
}

.checkbox-wrapper.select-all .custom-checkbox + label {
  justify-content: flex-end;
  gap: 10px;
}

.custom-checkbox + label > div {
  text-align: center;
  flex-grow: 1;
}

/* ===== Neumorphism Checkbox ===== */
.custom-checkbox + label::after {
  content: '';
  display: inline-block;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 8px;
  margin-right: 10px;
  background: #e6e8ec;
  box-shadow:
    6px 6px 12px rgba(0,0,0,0.15),
    -6px -6px 12px rgba(255,255,255,0.9);
}

.custom-checkbox:not(:disabled):not(:checked) + label:hover::after {
  box-shadow:
    2px 2px 8px rgba(0,0,0,0.1),
    -2px -2px 8px rgba(255,255,255,0.9);
}

.custom-checkbox:checked + label::after {
  background: #e6e8ec;
  box-shadow:
    inset 6px 6px 12px rgba(0,0,0,0.2),
    inset -6px -6px 12px rgba(255,255,255,0.7);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3e%3cpath fill='%232d5bff' d='M4.0 7.2L1.4 4.6 0 6l4 4 8-8L10.6 0z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
}

.custom-checkbox:focus + label::after {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(45, 91, 255, 0.4),
    inset 6px 6px 12px rgba(0,0,0,0.2),
    inset -6px -6px 12px rgba(255,255,255,0.7);
}

/* =============== Sliders & Labels =============== */
.ui-bg {
  background: #9b907e;
  width: 0%;
  height: 100%;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
}

.ui-labels {
  position: relative;
  width: 100%;
  margin: 20px 0 30px;
  font-size: 14px;
  font-weight: 500;
}

.ui-labels > label {
  position: absolute;
  width: 100px;
  margin-left: -50px;
  text-align: center;
  top: 0;
  cursor: pointer;
  transition: color 0.2s;
}

.ui-labels > label.active {
  color: #1543E7;
}

.ui-labels > label:nth-child(1) { left: 0; text-align: left; margin-left: 0; width: auto; }
.ui-labels > label:nth-child(2) { left: 33.3%; }
.ui-labels > label:nth-child(3) { left: 66.6%; }
.ui-labels > label:nth-child(4) { right: 0; text-align: right; width: auto; margin-left: 0; }

/* =============== Substeps =============== */
.ac-signup-substep {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e5e7eb;
}

.ac-signup-substep-header {
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  text-align: left;
}

/* =============== Interest Tags =============== */
#interest_artists_values {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#interest_artists_values b {
  background: #f5f6ff;
  display: inline-block;
  font-weight: normal;
  padding: 5px 10px;
  border-radius: 20px;
  color: #1543E7;
}

/* =============== Responsive Tweaks =============== */
.bx-media-phone .bx-form-input-wrapper-select {
  background-color: #F4F5F6 !important;
  width: unset;
}

.bx-media-phone .ac-collections-custom-privacy-field > div {
  width: 33%;
  box-sizing: border-box;
  display: inline-block !important;
  text-align: center !important;
  margin-bottom: 0 !important;
}

.bx-media-phone .bottom-buttons-wrapper {
  margin: 0 35px;
}
