body {
  font-family: "Inter", sans-serif;
  background-color: #f3f4f6;
}

/* Added to ensure headers are the correct color */
h1 {
  color: #6b21a8;
}

h2 {
  color: #7e22ce;
}

.mood-icon {
  width: 60px;
  height: 60px;
  cursor: pointer;
  border-radius: 50%;
  transition: transform 0.2s, box-shadow 0.2s;
  user-select: none;
}

.mood-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.mood-icon.selected {
  border: 3px solid #8618ab;
  box-shadow: 0 0 12px rgba(151, 40, 168, 0.6);
}
#moodOptions div {
  min-width: 80px;
}

/* Calendar Grid */

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr); /* 7 equal columns */
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

/* shared styles for headers & day boxes */
.calendar-header,
.calendar-day {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(86, 7, 86, 0.1);
  border: 1px solid #e6e6e6;
  padding: 8px;
  min-height: 64px;
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.12s ease;
}
.calendar-day:hover {
  transform: translateY(-3px);
}
/* weekday header (first row) */
.calendar-header {
  font-weight: 600;
  background: #f8f9fa;
  color: #9811b3;
  cursor: default;
}

/* day number top-left inside day box (optional) */
.day-number {
  position: absolute;
  top: 6px;
  left: 8px;
  font-size: 0.85rem;
  color: #b655df;
}

/* empty placeholder */
.calendar-day.empty {
  background: #fbfbfd;
  box-shadow: none;
  border-style: dashed;
  cursor: default;
}

/* small images inside day boxes */
.calendar-mood-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Modal styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
/* This rule was added to fix the bug */
.hidden {
  display: none;
}

.modal-content {
  background-color: white;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* smaller modal */
  width: 90%;
  max-width: 400px;
}

