:root {
  --santa-blue-dark: #003366;
  --santa-blue-light: #007bff;
  --santa-accent: #00c2cb;
  --santa-white: #ffffff;
  --santa-gray: #f8f9fa;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--santa-gray);
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.navbar-santa {
  background-color: var(--santa-white);
  border-bottom: 4px solid var(--santa-accent);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.hero-section {
  background: linear-gradient(135deg, var(--santa-blue-dark) 0%, var(--santa-blue-light) 100%);
  padding: 60px 0;
  color: white;
  text-align: center;
  margin-bottom: -50px;
}

.search-card {
  background: white;
  border: none;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.form-label {
  font-weight: 600;
  color: var(--santa-blue-dark);
}

.btn-search {
  background-color: var(--santa-accent);
  border: none;
  border-radius: 10px;
  padding: 15px;
  font-weight: 600;
  color: var(--santa-blue-dark);
  transition: 0.3s;
}

.btn-search:hover {
  background-color: var(--santa-blue-dark);
  color: white;
}

.social-top .bi,
.social-footer .bi {
  transition: 0.3s;
}

.social-top .bi:hover,
.social-footer .bi:hover {
  color: var(--santa-accent) !important;
}

footer {
  background-color: var(--santa-blue-dark);
  color: white;
  padding: 30px 0;
  margin-top: auto;
}

/* Estilização Customizada do Choices.js */
.choices__inner {
  background-color: white !important;
  border: 2px solid #eee !important;
  border-radius: 10px !important;
  padding: 8px !important;
}

.choices__list--dropdown {
  border-radius: 10px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.choices__item--selectable.is-highlighted {
  background-color: var(--santa-accent) !important;
  color: var(--santa-blue-dark) !important;
}

/* Efeito de carregamento (Skeleton) */
.skeleton {
  background: #eee;
  background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
  border-radius: 10px;
  background-size: 200% 100%;
  animation: 1.5s shine linear infinite;
}

@keyframes shine {
  to {
    background-position-x: -200%;
  }
}

/* Nível 1: Unidade (Card da Unidade no Accordion) */
.unidade-item {
  transition: transform 0.2s ease;
}

.unidade-item:hover {
  transform: translateY(-2px);
}

.accordion-button:not(.collapsed) {
  background-color: #fff;
  color: var(--santa-blue-dark);
  box-shadow: none;
}

.especialidade-tag {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  display: inline-block;
}

.unidade-btn {
  background-color: white !important;
  color: var(--santa-blue-dark) !important;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 20px;
  box-shadow: none !important;
}

.unidade-btn:not(.collapsed) {
  border-bottom: 2px solid var(--santa-accent);
  background-color: var(--santa-white) !important;
}

.unidade-propria-titulo {
  display: flex;
  align-items: center;
  color: var(--santa-blue-dark);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.unidade-propria-btn {
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.08) 0%, rgba(0, 194, 203, 0.12) 100%) !important;
  border: 1px solid rgba(0, 51, 102, 0.08) !important;
  box-shadow: none !important;
  color: var(--santa-blue-dark) !important;
}

.unidade-propria-btn:not(.collapsed) {
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.08) 0%, rgba(0, 194, 203, 0.12) 100%) !important;
  color: var(--santa-blue-dark) !important;
}

.unidade-propria-btn:focus {
  box-shadow: none !important;
}

.unidade-propria-btn::after {
  filter: hue-rotate(175deg) saturate(180%);
}

.unidade-propria-btn .unidade-propria-titulo {
  width: 100%;
}

/* Nível 2: Título da Especialidade */
.especialidade-titulo {
  background-color: var(--santa-gray);
  color: var(--santa-blue-dark);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 15px;
  margin-top: 20px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}

.especialidade-titulo::before {
  content: "";
  width: 4px;
  height: 15px;
  background: var(--santa-accent);
  margin-right: 10px;
  border-radius: 2px;
}

/* Nível 3: Linha do Médico */
.medico-row {
  padding: 12px 15px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;
}

.medico-row:last-child {
  border-bottom: none;
}

.medico-row:hover {
  background-color: #fafafa;
}

.medico-info h6 {
  color: #444;
  margin-bottom: 2px;
  font-weight: 600;
}

.prestador-footer-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.04) 0%, rgba(0, 194, 203, 0.10) 100%);
  border: 1px solid rgba(0, 51, 102, 0.08);
  border-radius: 12px;
}

.prestador-footer-meta__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background-color: var(--santa-white);
  color: var(--santa-blue-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 6px 18px rgba(0, 51, 102, 0.08);
  flex-shrink: 0;
}

.prestador-footer-meta__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.prestador-footer-meta__label {
  color: #5f6b7a;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prestador-footer-meta__value {
  color: var(--santa-blue-dark);
  font-size: 1rem;
  font-weight: 700;
}

@media (max-width: 576px) {
  .prestador-footer-meta {
    align-items: flex-start;
    padding: 14px 16px;
  }
}

.div-btn-fixos {
  position: fixed;
  bottom: 15px;
  right: 15px;
  z-index: 1000;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.btn-fixo {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  background-color: var(--santa-accent);
  border: none;
  color: var(--santa-blue-dark);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#btn-back-to-top {
  /* Escondido inicialmente */
  display: none;
}

#btn-back-to-top:hover {
  background-color: var(--santa-blue-dark);
  color: white;
  transform: translateY(-5px);
}
