.hatost-calendar-container {
  margin: 20px 0;
}
.hatost-calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 0 10px;
}
.hatost-calendar-header h3 {
  margin: 0;
  font-size: 1.5em;
  font-weight: bold;
  flex: 1;
  text-align: center;
}
.hatost-calendar-nav-button {
  background-color: #1976d2;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  min-width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.hatost-calendar-nav-button:hover {
  background-color: #1565c0;
}
.hatost-calendar-content {
  position: relative;
}
.hatost-calendar-grid {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.hatost-calendar-grid th {
  padding: 12px 8px;
  text-align: center;
  background-color: #f5f5f5;
  font-weight: bold;
  border: 1px solid #ddd;
  font-size: 0.9em;
}
.hatost-calendar-grid th.weekend {
  background-color: #fff5f5;
  color: #d32f2f;
}
.hatost-calendar-grid td {
  padding: 8px;
  text-align: left;
  border: 1px solid #ddd;
  vertical-align: top;
  min-height: 100px;
  height: 100px;
  width: 14.28%;
  position: relative;
}
.hatost-calendar-grid td.other-month {
  background-color: #f9f9f9;
  color: #ccc;
}
.hatost-calendar-grid td.today {
  background-color: #e3f2fd;
  font-weight: bold;
}
.hatost-calendar-grid td.weekend {
  background-color: #fff9f9;
}
.hatost-calendar-grid td.past-date {
  background-color: #f5f5f5;
  color: #999;
}
.hatost-calendar-grid td.past-date .hatost-calendar-day-number {
  color: #999;
}
.hatost-calendar-day-number {
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 4px;
  color: #333;
}
.hatost-calendar-day-number.today {
  color: #1976d2;
  background-color: #1976d2;
  color: #fff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9em;
}
.hatost-calendar-event {
  font-size: 0.85em;
  padding: 4px 6px;
  margin-bottom: 4px;
  background-color: #4caf50;
  color: #fff;
  border-radius: 3px;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hatost-calendar-event:hover {
  background-color: #45a049;
}
.hatost-calendar-event-time {
  font-size: 0.75em;
  opacity: 0.9;
  margin-right: 4px;
}
.hatost-calendar-loading {
  text-align: center;
  padding: 40px;
  color: #666;
  font-size: 1.1em;
}
.hatost-calendar-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  font-size: 1.1em;
  color: #666;
}
.hatost-calendar-error {
  padding: 15px;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
  border-radius: 4px;
  margin: 10px 0;
}
.hatost-calendar-empty {
  padding: 20px;
  text-align: center;
  color: #666;
}
@media (max-width: 768px) {
  .hatost-calendar-grid {
    font-size: 0.8em;
  }
  .hatost-calendar-grid th,
  .hatost-calendar-grid td {
    padding: 4px;
  }
  .hatost-calendar-event {
    font-size: 0.7em;
    padding: 2px 4px;
  }
}

