body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #f0f4f8, #d9e2ec);
  padding: 20px;
  margin: 0;
}

h1 {
  text-align: center;
  color: #1f2937;
  margin-bottom: 20px;
  font-size: 2rem;
}

.controls {
  text-align: center;
  margin-bottom: 15px;
}

.controls {
  display: flex;
  justify-content: space-between; /* Distribui os botões nos extremos */
  align-items: center;
  width: 100%;
  margin-bottom: 20px; /* Ajuste conforme necessário */
}

/* Estilos gerais para ambos os botões */
.controls button {
  width: 100px;
  height: 100px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 8px;
  background-color: transparent;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
  color: white;
}

/* Botão "voltar" - individual */
#prev-month {
  background-image: url('img/menor.png');
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  
  /* Aumenta o tamanho da imagem mantendo proporção */
  background-size: 60px 60px; /* Aumentei de 24px para 40px */
  
  /* Opcional: ajusta o padding se quiser que a imagem ocupe mais espaço */
  padding: 10px; /* Cria espaço interno ao redor da imagem */
}

/* Botão "avançar" - individual */
#next-month {
  background-image: url('img/maior-que.png');
  /* Posicionamento no canto direito */
  position: absolute;
  right: 20px; /* Distância da borda direita */
  top: 50%; /* Centraliza verticalmente */
  transform: translateY(-50%); /* Ajuste para centralizar */

  /* Aumenta o tamanho da imagem mantendo proporção */
  background-size: 60px 60px; /* Aumentei de 24px para 40px */
  
  /* Opcional: ajusta o padding se quiser que a imagem ocupe mais espaço */
  padding: 10px; /* Cria espaço interno ao redor da imagem */
}

/* Hover específico para cada botão */
#prev-month:hover {
  transform: translateY(-52%) scale(1.05); /* Efeito diferente */
}

#next-month:hover {
  transform: translateY(-52%) scale(1.05); /* Efeito diferente */
}

/* Container para posicionamento relativo */
.controls {
  position: relative;
  width: 100%;
  height: 100px; /* Altura do container */
}


.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  max-width: 1600px;
  margin: 0 auto 40px auto;
}

.day-header {
  background: #60a5fa;
  color: white;
  text-align: center;
  padding: 12px 0;
  font-weight: bold;
  border-radius: 10px;
  font-size: 0.9rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.day {
  background: white;
  min-height: 90px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.day:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.day:focus {
  outline: 3px solid #3b82f6;
}

.work {
  background: #fde68a;
  border-color: #facc15;
}

.day-number {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: #000000;
}

.tag {
  position: absolute;
  bottom: 6px;
  left: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #92400e;
  background: rgba(254, 202, 21, 0.2);
  padding: 2px 6px;
  border-radius: 6px;
}

.login-btn {
  position: fixed; /* fixa na tela */
  top: 10px;
  right: 10px;
  padding: 8px 12px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 2000;
  display: none; /* acima do calendário */
}

.login-btn:hover {
  background-color: #0056b3;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 6px;
  width: 300px;
  text-align: center;
}

.modal-content input {
  width: 90%;
  padding: 8px;
  margin: 10px 0;
}

.modal-buttons button {
  padding: 8px 15px;
  margin: 5px;
}

/* botão de login */
.login-btn {
  padding: 8px 12px;
  margin: 10px;
  cursor: pointer;
}
