* {
  box-sizing: border-box;
}

:root {
  --green: #00c896;
  --gold: #d4af37;
  --bg: #04110d;
  --text: #fff;
  --muted: rgba(255,255,255,0.72);
  --panel: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.13);
}

body, html {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, rgba(0,200,150,0.18), transparent 36%),
              radial-gradient(circle at bottom right, rgba(212,175,55,0.12), transparent 34%),
              #020806;
}

.background-container,
.background-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.background-overlay {
  background: rgba(0,0,0,0.32);
}

.main-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 14px;
}

.glass-panel {
  width: min(880px, 100%);
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.095), rgba(255,255,255,0.045));
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  box-shadow: 0 26px 80px rgba(0,0,0,0.35);
}

h1, h2, h3 {
  margin-top: 0;
}

h1 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--gold);
}

.panel-subtitle,
.mini-text {
  color: var(--muted);
}

input, select {
  width: 100%;
  padding: 14px 15px;
  margin: 8px 0;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.26);
  color: #fff;
  outline: none;
  font-family: inherit;
}

button {
  border: 0;
  border-radius: 14px;
  padding: 13px 18px;
  background: linear-gradient(135deg, var(--gold), #b8872e);
  color: #10130f;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: 0.22s ease;
}

button:hover:not(:disabled) {
  transform: translateY(-1px);
}

button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.secondary,
.btn-voltar {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid var(--border);
}

.cards-container {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.select-card,
.servico-card {
  width: 100%;
  text-align: left;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.055);
  color: #fff;
  border: 1px solid var(--border);
  display: grid;
  gap: 5px;
}

.select-card span,
.servico-card span,
.servico-card p {
  color: var(--muted);
}

.select-card.selected,
.servico-card.selected {
  border-color: rgba(0,200,150,0.75);
  box-shadow: 0 0 0 4px rgba(0,200,150,0.10);
  background: rgba(0,200,150,0.10);
}

.servico-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
}

.servico-card input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.resumo-servicos,
.resumo-final {
  margin: 20px 0;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(212,175,55,0.22);
  background: rgba(212,175,55,0.08);
}

.resumo-linha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.resumo-linha:last-child {
  border-bottom: none;
}

.resumo-linha.destaque strong {
  color: var(--green);
  font-size: 20px;
}

.calendar-grid {
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}

.horarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
  margin: 14px 0 22px;
}

.horario-card {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid var(--border);
}

.horario-card.selected {
  background: var(--green);
  color: #04110d;
}

.profissional-card {
  grid-template-columns: 54px 1fr;
  align-items: center;
}

.profissional-card img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(212,175,55,0.5);
}

.pagamento-opcoes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 12px 0 22px;
}

.pagamento-card {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: #fff;
}

.pagamento-card input {
  width: auto;
}

@media (max-width: 680px) {
  .glass-panel {
    padding: 22px;
  }
}
