* {
  box-sizing: border-box;
}

:root {
  --bm-primary: #0d6efd;
  --bm-success: #198754;
  --bm-danger: #dc3545;
  --bm-surface: #ffffff;
  --bm-border: #d8dee6;
  --bm-muted: #667085;
  --bm-text: #20242a;
  --bm-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  line-height: 1.45;
}

body > .container {
  width: 100%;
  flex: 1 0 auto;
}

.container.py-5 {
  padding-top: 32px !important;
  padding-bottom: 32px !important;
}

footer {
  margin-top: auto !important;
  flex-shrink: 0;
}

.topo {
  height: 88px !important;
}

#logo {
  width: 96px;
  height: 96px;
  object-fit: cover;
  background: #fff;
  border: 3px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

#logoRodape {
  width: 180px !important;
  max-width: 80vw;
  height: auto;
}

footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step-indicator {
  gap: 10px !important;
  margin-bottom: 22px !important;
}

.step {
  width: 36px !important;
  height: 36px !important;
  font-size: 14px;
  border: 1px solid rgba(13, 110, 253, 0.18);
}

.card-calendar,
.card-lista,
.card-horarios,
.sucesso-box {
  width: min(100%, 560px) !important;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px !important;
  box-shadow: var(--bm-shadow) !important;
}

.card-calendar,
.card-lista,
.card-horarios {
  padding: 24px !important;
}

.card-horarios {
  min-height: auto !important;
}

.prof-card,
.servico-card,
.list-group-item,
.card {
  border-radius: 8px !important;
}

.prof-card,
.servico-card {
  border-color: var(--bm-border) !important;
}

.prof-card:hover,
.servico-card:hover {
  background: #f6f8fb !important;
}

.form-control,
.inputsInfor,
.novaData {
  border-radius: 8px !important;
  border-color: var(--bm-border) !important;
}

.inputsInfor,
.btn-primary {
  max-width: 100%;
}

.btn,
.btn-primary,
.btn-success,
.btn-danger,
.btn-secondary,
.btn-outline-primary,
.btn-outline-secondary,
.btn-light {
  border-radius: 8px !important;
  font-weight: 600;
}

.selecionados {
  color: var(--bm-muted);
  margin-bottom: 16px;
}

.bm-loading,
.bm-empty,
.bm-error {
  width: 100%;
  padding: 18px;
  border: 1px dashed var(--bm-border);
  border-radius: 8px;
  color: var(--bm-muted);
  background: #f8fafc;
  text-align: center;
}

.bm-error {
  color: var(--bm-danger);
  border-color: rgba(220, 53, 69, 0.25);
  background: #fff5f5;
}

.btn-flutuante {
  width: min(92%, 500px) !important;
  border-radius: 8px !important;
}

#horarios-container {
  width: 100%;
  min-width: 0 !important;
  padding: 18px !important;
}

.horario-btn {
  min-width: 74px;
  border-radius: 8px !important;
}

.instagram {
  max-height: none !important;
}

.instagram-media {
  border: 0;
  border-radius: 8px !important;
}

@media (max-width: 576px) {
  .container.py-5 {
    padding-left: 14px;
    padding-right: 14px;
  }

  .card-calendar,
  .card-lista,
  .card-horarios,
  .sucesso-box {
    padding: 18px !important;
  }

  .step-indicator {
    gap: 6px !important;
  }

  .step {
    width: 32px !important;
    height: 32px !important;
    font-size: 13px;
  }

  #logo {
    width: 82px;
    height: 82px;
  }

  h1 {
    font-size: 22px !important;
  }

  h4,
  h5 {
    line-height: 1.25;
  }

  .prof-img {
    width: 72px !important;
    height: 72px !important;
  }
}
