:root {
  --background: #0d0d0d;
  --surface: #141414;
  --surface-alt: #1a1a1a;
  --surface-2: #1c1c1c;
  --text: #f5f5f5;
  --muted: #999;
  --border: #2a2a2a;
  --gold: #f0ca32;
  --gold-2: #e6c96b;
  --radius-md: 10px;
  --radius-lg: 14px;
  --black: #000;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* =====================================================
   MODEL SERVICES
===================================================== */
.modelservices-section {
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  position: relative;
}

.modelservices-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s ease;
}

.modelservices-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.modelservices-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

/* =====================================================
   VELVET SELECT (Custom Dropdown)
===================================================== */
.velvet-select {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  overflow: hidden;
}

.velvet-selected {
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  user-select: none;
}

.velvet-options {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  z-index: 20;
  max-height: 220px;
  overflow-y: auto;
}

.velvet-select.open .velvet-options {
  display: block;
}

.velvet-options li {
  padding: 10px 14px;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text);
  transition: background 0.2s ease, color 0.2s ease;
}

.velvet-options li.active {
  background: rgba(240, 202, 50, 0.15);
  color: var(--gold);
}

.velvet-options li:hover {
  background: rgba(240, 202, 50, 0.25);
  color: #fff;
}

/* =====================================================
   DASH – PHYSICAL GRID CARDS
===================================================== */
.dash-physical-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.dash-phys-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.25s ease;
}

.dash-phys-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.dash-phys-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--gold);
}

.dash-phys-card input,
.dash-phys-card select {
  width: 100%;
  max-width: 160px;
  height: 38px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text);
  font-size: 0.9rem;
  text-align: center;
}

.dash-phys-card input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--gold);
  cursor: pointer;
}

/* =====================================================
   DASH – FORM
===================================================== */
.dash-form {
  margin-top: 24px;
}

.dash-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .dash-row {
    grid-template-columns: 1fr;
  }
}

.dash-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
  display: block;
}

.model-input,
.model-input.textarea {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.model-input::placeholder,
.model-input.textarea::placeholder {
  color: var(--muted);
}

.model-input:focus,
.model-input.textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 6px rgba(240, 202, 50, 0.4);
  outline: none;
}

.model-input.textarea {
  min-height: 96px;
  resize: vertical;
}

/* =====================================================
   DASH – UPLOAD
===================================================== */
.dash-upload {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  border: 2px dashed var(--gold);
  border-radius: var(--radius-md);
  background: rgba(240, 202, 50, 0.05);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s ease;
}

.dash-upload:hover {
  background: var(--gold);
  color: var(--black);
  border-style: solid;
}

/* =====================================================
   DASH – TOGGLES
===================================================== */
.dash-toggles {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}


.dash-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: color-mix(in srgb, var(--gold) 12%, transparent);
}

.dash-toggle input {
  accent-color: var(--gold);
}

/* ================================
   Services & Experience (Velvet)
================================ */

/* Seção */
.services-section {
  /* margin: 24px 0; */
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.services-section h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 16px;
  border-left: 4px solid var(--gold);
  padding-left: 10px;
}

/* Campo container */
.service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  background: var(--surface-2);
  transition: all .25s ease;
}
.service-item:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(212,175,55,0.2);
}

/* Label */
.service-item label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

/* Switch custom */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 22px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #555;
  border-radius: 22px;
  transition: 0.4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px; width: 18px;
  left: 2px; bottom: 2px;
  background: #fff;
  border-radius: 50%;
  transition: 0.4s;
}
.switch input:checked + .slider {
  background: var(--gold);
}
.switch input:checked + .slider:before {
  transform: translateX(22px);
}

/* Campo texto */
.service-item input[type="text"] {
  flex: 1;
  margin-left: 12px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.9rem;
  color: var(--text);
}
.service-item input[type="text"]::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

/* ---------- Toggles Premium ---------- */
.dash-toggle-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  margin-bottom: 8px;
  transition: all 0.25s ease;
}
.dash-toggle-label:hover {
  border-color: var(--gold);
}

.dash-toggle {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
}
.dash-toggle input { display: none; }
.dash-toggle-slider {
  position: absolute; cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--border);
  border-radius: 22px;
  transition: .3s;
}
.dash-toggle-slider::before {
  position: absolute;
  content: "";
  height: 16px; width: 16px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: .3s;
}
.dash-toggle input:checked + .dash-toggle-slider {
  background: var(--gold);
}
.dash-toggle input:checked + .dash-toggle-slider::before {
  transform: translateX(20px);
}

/* ---------- Schedule Pills ---------- */
.period-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  margin: 3px;
  border-radius: 20px;
  font-size: 0.85rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all .25s ease;
}
.period-pill.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(212,175,55,0.35);
}
.period-pill input { display: none; }

/* ---------- Rates Cards ---------- */
.dash-rates-grid {
  display: grid;
  gap: 16px;
}
.dash-rate-card {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.dash-rate-card h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--gold);
}
.dash-rate-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 6px 0;
}
.dash-rate-input {
  display: flex;
  align-items: center;
}
.dash-rate-input .currency {
  margin-right: 6px;
  color: var(--gold);
}
.dash-rate-input input {
  width: 90px;
  text-align: right;
}

/* ---------- Payment Chips ---------- */
.dash-payment-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  margin: 4px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface-2);
  cursor: pointer;
  transition: all .25s ease;
}
.dash-payment-item input { display: none; }
.dash-payment-item.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(212,175,55,0.35);
}

/* ---------- Content Extras ---------- */
.services-quick > label {
  margin-bottom: 8px;
}

/* ---------- Toggles (Content Extras, Services Quick) ---------- */
.dash-service-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  margin-bottom: 10px;
  transition: all 0.25s ease;
}
.dash-service-card:hover {
  border-color: var(--gold);
  box-shadow: 0 3px 8px rgba(212,175,55,0.25);
}
.dash-service-card span {
  font-size: 0.95rem;
  color: var(--text);
}

/* switch premium */
.dash-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 22px;
}
.dash-toggle input { display: none; }
.dash-toggle-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--border);
  border-radius: 22px;
  cursor: pointer;
  transition: .3s;
}
.dash-toggle-slider::before {
  content: "";
  position: absolute;
  height: 16px; width: 16px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: .3s;
}
.dash-toggle input:checked + .dash-toggle-slider {
  background: var(--gold);
}
.dash-toggle input:checked + .dash-toggle-slider::before {
  transform: translateX(22px);
}

/* ---------- Rates cards ---------- */
.dash-rates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.dash-rate-card {
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.dash-rate-card h4 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--gold);
}
.dash-rate-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 6px 0;
}
.dash-rate-input {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dash-rate-input .currency {
  color: var(--gold);
  font-weight: 600;
}
.dash-rate-input input {
  width: 80px;
  text-align: right;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  padding: 4px 6px;
}

/* ---------- Schedule pills ---------- */
.dash-schedule-grid {
  display: grid;
  gap: 12px;
}
.dash-schedule-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dash-schedule-day {
  min-width: 80px;
  font-weight: 600;
  color: var(--text);
}
.dash-schedule-inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.period-pill {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.25s ease;
}
.period-pill.active {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(212,175,55,0.35);
}
.period-pill input { display: none; }

.dash-toggle input:checked + .dash-toggle-slider {
  background: var(--gold);
}
.dash-toggle input:checked + .dash-toggle-slider::before {
  transform: translateX(22px);
}
.period-pill input:checked + span {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(212,175,55,0.35);
}

/* Container do schedule */
.dash-schedule-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Linha: 2 colunas */
.dash-schedule-row {
  display: grid;
  grid-template-columns: 120px 1fr; /* 120px para o dia, resto para os botões */
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

/* Dia da semana */
.dash-schedule-day {
  font-weight: 600;
  color: var(--gold);
  font-size: 0.95rem;
}

/* Caixa dos períodos */
.dash-schedule-inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Cada pill */
.period-pill {
  border: 1px solid var(--border);
  border-radius: 18px;
  cursor: pointer;
  overflow: hidden;
  font-size: 0.85rem;
}
.period-pill input {
  display: none;
}
.period-pill span {
  display: inline-block;
  padding: 6px 12px;
  background: var(--surface-2);
  color: var(--text-muted);
  transition: all 0.25s ease;
}

/* Ativo */
.period-pill input:checked + span {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(212,175,55,0.35);
}

.period-pill {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 6px 12px;
  cursor: pointer;
  color: var(--text-muted);
  background: var(--surface-2);
  transition: all .25s ease;
}

.period-pill.active {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(212,175,55,.35);
}

.services-quick {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.dash-service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column; /* coloca texto em cima, toggle embaixo */
  align-items: center;
  justify-content: space-between;
  min-height: 100px; /* altura consistente */
  transition: all .25s ease;
}

.dash-service-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(212,175,55,0.25);
}

.dash-service-label {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-align: center;
  color: var(--text);
}

.dash-service-toggle {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* ---------- Toggle (padrão pequeno e uniforme) ---------- */
.dash-toggle-label {
  display: flex;
  flex-direction: column; /* Nome em cima, toggle embaixo */
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  min-width: 140px;   /* garante mesmo tamanho */
  max-width: 160px;
  text-align: center;
}

/* Caixa dos toggles em grid responsivo */
.services-quick {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

/* Toggle switch refinado */
.dash-toggle {
  position: relative;
  display: inline-block;
  width: 42px;   /* tamanho padrão */
  height: 22px;
}

.dash-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.dash-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  border-radius: 22px;
  transition: .3s;
}

.dash-toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: .3s;
}

/* Checked state */
.dash-toggle input:checked + .dash-toggle-slider {
  background-color: var(--gold);
}

.dash-toggle input:checked + .dash-toggle-slider:before {
  transform: translateX(20px);
}
