/* ============================================
   EMPYREAN — FORMULARIOS / BOTONES
   ============================================ */

/* ─── Inputs ────────────────────────────────── */
input,
select,
textarea {
  width: 100%;
  padding: 15px 18px;
  margin: 7px 0;
  border: 1.5px solid #ede0f0;
  border-radius: 18px;
  box-sizing: border-box;
  background: #fdfaff;
  font-size: 0.97rem;
  color: var(--text);
  font-family: inherit;
  transition: all 0.25s ease;
  font-weight: 500;
  resize: none;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(96, 32, 96, 0.09), 0 4px 20px rgba(96, 32, 96, 0.08);
}
input:disabled,
select:disabled {
  background-color: #f5f0f8;
  color: #c5b5c5;
  border-color: transparent;
  cursor: not-allowed;
}

/* ─── Password wrapper ──────────────────────── */
.password-wrapper {
  position: relative;
  width: 100%;
  margin: 7px 0;
}
.password-wrapper input { margin: 0; padding-right: 52px; width: 100%; box-sizing: border-box; }
.toggle-eye {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1.1rem;
  color: #b2bec3;
  z-index: 10;
  line-height: 1;
  user-select: none;
  transition: color 0.2s, transform 0.2s;
}
.toggle-eye:hover { color: var(--primary); transform: translateY(-50%) scale(1.15); }

/* ─── Btn main ──────────────────────────────── */
.btn-main {
  background: linear-gradient(135deg, var(--primary), #8a2b8a);
  color: white;
  border: none;
  padding: 18px;
  width: 100%;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 800;
  font-size: 1rem;
  margin-top: 18px;
  transition: all 0.2s ease;
  font-family: inherit;
  box-shadow: 0 8px 25px rgba(96, 32, 96, 0.35);
  letter-spacing: 0.3px;
}
.btn-main:hover        { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(96, 32, 96, 0.5); }
.btn-main:active       { transform: scale(0.97) translateY(0); }
.btn-main.reschedule-mode { background: linear-gradient(135deg, var(--info), #0288d1); box-shadow: 0 8px 25px rgba(41, 182, 246, 0.35); }
.btn-main:disabled     { background: #e8e8e8; color: #b2bec3; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-main--incomplete  { background: linear-gradient(135deg, #c9a0c9, #b07ab0); opacity: 0.55; box-shadow: none; }
.btn-main--incomplete:hover { transform: none; box-shadow: none; }
.btn-main--ready       { animation: btnReady 0.45s ease; }

/* ─── Surcharge alert ───────────────────────── */
.surcharge-alert {
  background: linear-gradient(135deg, #fff8e1, #fff3cc);
  border: 1px solid #ffe082;
  border-left: 4px solid #ff9800;
  padding: 14px 16px;
  border-radius: 16px;
  margin: 12px 0;
  display: none;
  color: #e65100;
  font-size: 0.88rem;
  font-weight: 700;
  align-items: center;
  gap: 10px;
  animation: popIn 0.3s;
  box-shadow: 0 4px 12px rgba(255, 165, 0, 0.1);
}

/* ─── Add row ───────────────────────────────── */
.add-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  background: #fbf4fb;
  padding: 8px;
  border-radius: 20px;
  border: 1px solid #f9edf7;
  flex-wrap: wrap;
}
.add-row input,
.add-row select {
  border: none;
  background: transparent;
  padding: 10px 15px;
  margin: 0;
  box-shadow: none;
  font-size: 0.9rem;
}
.add-row button {
  margin: 0;
  width: auto;
  box-shadow: none;
  border-radius: 14px;
  padding: 12px 20px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  min-width: 48px;
  background: var(--primary);
}

/* ─── Hours editor ──────────────────────────── */
.hours-editor-box {
  background: #faf6ff;
  padding: 18px;
  border-radius: 18px;
  border: 1.5px solid #ede0ff;
  margin-top: 16px;
}
.weekly-hours-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  min-height: 48px;
  align-items: center;
}
.hour-tag {
  display: inline-flex;
  align-items: center;
  background: white;
  color: var(--primary);
  padding: 9px 15px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 2px 8px rgba(96,32,96,0.1);
  border: 1.5px solid #ede0ff;
  transition: box-shadow 0.15s;
}
.hour-tag:hover { box-shadow: 0 4px 12px rgba(96,32,96,0.15); }
.hour-tag span { margin-left: 8px; color: #c5a0d8; cursor: pointer; font-weight: 700; font-size: 0.82rem; transition: color 0.15s; }
.hour-tag span:hover { color: var(--danger); }

/* ─── Schedule helpers ───────────────────────── */
.sched-card { padding: 20px !important; }

.sched-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #8a7099;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: block;
}

.sched-field-row {
  display: flex;
  flex-direction: column;
  border-bottom: 1.5px solid #ede0ff;
  padding-bottom: 16px;
}

.sched-time-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #ede0ff;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.9rem;
  background: #fdfaff;
  box-sizing: border-box;
  outline: none;
  margin-top: 5px;
}

.sched-btn-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sched-btn-save {
  background: var(--whatsapp) !important;
  border-radius: 14px !important;
  padding: 14px !important;
  margin: 0 !important;
  box-shadow: none !important;
  font-size: 0.92rem !important;
}

.sched-btn-restore {
  background: var(--warning) !important;
  border-radius: 14px !important;
  padding: 14px !important;
  margin: 0 !important;
  box-shadow: none !important;
  font-size: 0.92rem !important;
}

.sched-btn-dayoff {
  background: #fff0f0 !important;
  color: var(--danger) !important;
  border: 1.5px solid #ffcdd2 !important;
  border-radius: 14px !important;
  padding: 14px !important;
  margin: 0 !important;
  box-shadow: none !important;
  font-size: 0.92rem !important;
}
