/* ============================================
   SAMET - Calendar "Premium Dark"
   ============================================ */

.calendar {
  width: 85%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 1.5rem;
  padding: 16px;
  background: var(--bg-light, #f7f8f5);
  border-radius: var(--radius-sm, 14px);
  border: 1px solid var(--border, #e2e4e1);
}

.calendarHeader {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 0 4px;
}

.calendarHeader a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}

.calendarHeader a:hover {
  background: rgba(61, 74, 33, 0.08);
}

.calendarHeader a img {
  width: 22px;
  height: 22px;
}

.calendarHeader p {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text, #2d3436);
  text-transform: capitalize;
}

.calendarWeek {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  grid-template-columns: repeat(7, 1fr);
}

.calendarWeekItem {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14.28%;
  text-align: center;
  height: 40px;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 50%;
  color: var(--text, #2d3436);
  transition: all 0.2s ease;
  position: relative;
}

.calendarWeekItem:hover:not(.inativo):not(.selecionado) {
  background: var(--green-pale, #e8f0d4);
  color: var(--green, #3d4a21);
}

.calendarWeekItem.inativo {
  color: #ccc;
  cursor: not-allowed;
}

.calendarWeekItem.selecionado {
  background: var(--green, #3d4a21);
  border-radius: 50%;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(61, 74, 33, 0.3);
  transform: scale(1.05);
}

.calendarWeekDay {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14.28%;
  text-align: center;
  height: 36px;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light, #7c8389);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.buttonDisabled {
  cursor: not-allowed;
  text-decoration: none;
  opacity: 0.4;
}

#calendarioSeguinte {
  display: none;
}
