body { 
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fafafa;
}

.room-container {
  max-width: 900px;
  margin: auto;
  padding: 16px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 16px;
  text-align: center;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#switchRoleBtn {
  background: none;
  border: none;
  font-size: 14px;
  color: #000;
  cursor: pointer;
}

.month-switch {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 12px 0;
}

.calendar-header,
#calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-header div {
  text-align: center;
  font-weight: bold;
}

.day, .empty-day {
  height: 64px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.day.active {
  background: #e0f2fe;
}

.day.today {
  border: 2px solid #f43f5e;
}

.heart {
  position: absolute;
  bottom: 4px;
  right: 6px;
}

button {
  margin-top: 10px;
  padding: 8px 16px;
  border-radius: 12px;
  border: none;
  background: #4f46e5;
  color: white;
  cursor: pointer;
}

#withdrawBtn {
  background: #9ca3af;
  margin-left: 10px;
}

.charts-container {
  margin-top: 24px;
}

/* modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 16px;
  max-width: 300px;
  margin: 15vh auto;
}

.close {
  float: right;
  cursor: pointer;
}

#exportBtn {
  margin-left: 8px;
  background: #10b981;
}
