.calendar-container {
  /* escala 1.75 = 175% */
  zoom: 1.75;
}

/* garante que html/body ocupam 100% da altura */
html, body {
  height: 100%;
  margin: 0;
}

/* centraliza calendar-container sem encolher */
body {
  display: grid;
  place-items: center;    
  background-color: #f8f8f8;
}

/* fonte*/
.notes, .notes button, .assinatura {
  font-family: 'Amatic SC', cursive;
}

/* container principal do calendário */
.calendar-container {
  display: flex;
  width: 900px;           
  max-width: 100%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
  font-family: sans-serif;
}

/* painel esquerdo */
.calendar-left {
  flex: 2;
  display: flex;
  flex-direction: column;
}

/* cabeçalho do calendário */
.calendar-header-image {
  background: #eee url('../img/close-up-de-uma-flor-roxa.jpg')center/cover no-repeat;
  height: 150px;
}

.week-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #f8f8f8;
}

.week-days div {
  padding: 0.75rem 0;
  text-align: center;
  font-weight: bold;
  border-bottom: 1px solid #ccc;
}

.days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.day {
  border: 1px solid #ccc;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  position: relative;
}
.day.empty {
  background: #fafafa;
  cursor: default;
}

/* número dentro de span para manipular o círculo */
.day span.day-number {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  line-height: 1.2em;
}

/* dia atual, padrão */
.day.today {
  background-color: #D0C4F2;
}
.day.today span.day-number {
  color: #000;
  border-radius: 50%;
}

/* dia marcado genérico */
.day.marked {
  background-color: #8C7ACE;
  color: #fff;
}

/* dia hoje marcado: círculo branco com texto roxo */
.day.today.marked {
  background-color: #8C7ACE;
}
.day.today.marked span.day-number {
  background: #fff;
  color: #8C7ACE;
  border-radius: 50%;
  padding: 0.6rem;
}

/* painel direito */
.calendar-right {
  flex: 1;
  background: #8C7ACE;
  color: #fff;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.month-info {
  text-align: center;
}

.month-info .year {
  font-size: 2rem;
  font-weight: bold;
}

.month-info .month {
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

.month-info .day-of-month {
  font-size: 3rem;
  margin-top: 0.5rem;
  line-height: 1;
}

.notes {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.notes li {
  border-bottom: 1px solid rgba(255,255,255,0.5);
  height: 1.2rem;
  padding: 7px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.notes button {
  color: #8C7ACE;
  background: fff;
  border: 1px solid #D0C4F2;
  border-radius: 0.5rem;
  padding: 0 0.3rem;
  cursor: pointer;
}

.notes button:hover {
  color: #8C7ACE;
  background: #D0C4F2;
    transition: color 0.3s, background 0.3s;
}

.assinatura {
  font-size: 1rem;
  text-align: center;
  line-height: 1.2;
  opacity: 0.9;
}
