/* ==================================================
   CALENDÁRIO – ESTRUTURA ORIGINAL + VISUAL MODERNO
================================================== */

#calendario {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* =====================
   MÊS
===================== */

.mes {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.mes h2 {
  text-align: center;
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

/* =====================
   GRID DO CALENDÁRIO
===================== */

.tabela {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

/* CABEÇALHO */
.header {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 0;
  color: rgba(255,255,255,0.6);
  background: transparent;
}

/* =====================
   DIAS
===================== */

.dia {
  aspect-ratio: 1 / 1;
  background: rgba(255,255,255,0.06);
  border-radius: 14px;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 15px;
  font-weight: 600;
  cursor: pointer;

  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.25s ease;
}

.dia:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.35);
}

/* DIA ATUAL */
.dia-atual {
  box-shadow: inset 0 0 0 2px rgba(110,231,255,0.6);
  font-weight: 700;
}

/* DIA AGENDADO */
.dia-agendado {
  visibility: hidden;
  pointer-events: none;
}

/* =====================
   AGENDAMENTOS
===================== */

.agendamentos {
  font-size: 12px;
  margin-top: 6px;
  color: #22c55e;
  text-align: center;
}

/* =====================
   RESPONSIVO
===================== */

@media (max-width: 768px) {
  .tabela {
    gap: 8px;
  }

  .dia {
    font-size: 14px;
    border-radius: 12px;
  }
}
