.calendar-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.calendar-nav-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  color: #ffffff;
}

.calendar-nav-button:hover {
  background-color: #1f2937;
}

.calendar-nav-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #050505;
  transition: color 0.3s ease;
}

.calendar-nav-button:hover .calendar-nav-icon {
  color: #60a5fa;
}

.calendar-title {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  color: #000000;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.calendar-weekday {
  text-align: center;
  padding: 0.75rem 0.5rem;
  background-color: #ffffff;
  border-radius: 0.75rem;
}

.calendar-weekday-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.5rem;
}

.calendar-day {
  position: relative;
  height: 3rem;
  width: 100%;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: 1px solid transparent;
  background-color: transparent;
  cursor: pointer;
  color: #ffffff;
}

.calendar-day:disabled {
  cursor: default;
}

.calendar-day--invisible {
  visibility: hidden;
}

.calendar-day--selected {
  background-color: #2563eb;
  border-color: transparent;
  color: #ffffff;
}

.calendar-day--selected:hover {
  background-color: #1d4ed8;
}

.calendar-day--default {
  background-color: #fffdfd;
  border-color: transparent;
  color: #000000;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.calendar-day--default:hover {
  background-color: #5a5a5a;
}

.calendar-day--event {
  background-color: #ffffff;
  border: 2px solid #3b82f6;
  color: #ffffff;
}

.calendar-day--event:hover {
  background-color: #5a5a5a;
}

.calendar-day-number {
  font-size: 0.875rem;
  font-weight: 1000;
  color: #000000;
}

.calendar-day--selected .calendar-day-number {
  color: #ffffff;
}

.calendar-day-icon {
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-day-icon-symbol {
  font-size: 0.75rem;
}

.calendar-day-event-indicator {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 0.5rem;
  height: 0.5rem;
  background-color: #3b82f6;
  border-radius: 9999px;
}

.calendar-selected {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: #111827;
  border-radius: 0.75rem;
  border: 1px solid #374151;
}

.calendar-selected-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.calendar-selected-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
}

.calendar-selected-close {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  transition: color 0.3s ease;
}

.calendar-selected-close:hover {
  color: #ffffff;
}

.calendar-selected-close-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.calendar-selected-event {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.calendar-selected-event-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.calendar-selected-event-icon {
  font-size: 1.125rem;
}

.calendar-selected-event-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: #ffffff;
}

.calendar-selected-event-description {
  color: #d1d5db;
  font-size: 0.875rem;
}

.calendar-selected-empty {
  color: #9ca3af;
  font-size: 0.875rem;
}
