/* Chef Calendar Styles */
#chef-calendar-root * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#chef-calendar-root .calendar-widget {
  background: #000000;
  padding: 40px 20px;
  font-family: 'Arial', sans-serif;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 12px;
}

#chef-calendar-root .calendar-header {
  text-align: center;
  margin-bottom: 30px;
}

#chef-calendar-root .calendar-title {
  font-size: 2em;
  color: #F4A6C1;
  font-weight: 700;
  margin-bottom: 10px;
}

#chef-calendar-root .current-location {
  font-size: 1.2em;
  color: #D4AF37;
  margin-bottom: 20px;
}

#chef-calendar-root .location-badge {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(135deg, #F4A6C1 0%, #D4AF37 100%);
  color: #000000;
  font-weight: 700;
  border-radius: 25px;
  font-size: 1.1em;
  letter-spacing: 1px;
}

#chef-calendar-root .calendar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding: 0 10px;
}

#chef-calendar-root .nav-btn {
  background: #F4A6C1;
  color: #000000;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

#chef-calendar-root .nav-btn:hover {
  background: #D4AF37;
  transform: scale(1.05);
}

#chef-calendar-root .current-month {
  font-size: 1.4em;
  color: #ffffff;
  font-weight: 700;
}

#chef-calendar-root .calendar-grid {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
}

#chef-calendar-root .weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-bottom: 15px;
}

#chef-calendar-root .weekday {
  text-align: center;
  color: #F4A6C1;
  font-weight: 700;
  font-size: 0.9em;
  padding: 10px 5px;
}

#chef-calendar-root .days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

#chef-calendar-root .day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #2a2a2a;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px;
}

#chef-calendar-root .day.editable {
  cursor: pointer;
}

#chef-calendar-root .day.editable:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(244, 166, 193, 0.3);
}

#chef-calendar-root .day.empty {
  background: transparent;
  cursor: default;
}

#chef-calendar-root .day.empty:hover {
  transform: none;
  box-shadow: none;
}

#chef-calendar-root .day-number {
  color: #ffffff;
  font-weight: 600;
  font-size: 1em;
  margin-bottom: 3px;
}

#chef-calendar-root .day-location {
  font-size: 0.7em;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  white-space: nowrap;
}

#chef-calendar-root .day.new-york {
  background: linear-gradient(135deg, rgba(244, 166, 193, 0.3) 0%, rgba(244, 166, 193, 0.1) 100%);
  border: 2px solid #F4A6C1;
}

#chef-calendar-root .day.new-york .day-location {
  background: #F4A6C1;
  color: #000000;
}

#chef-calendar-root .day.florida {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(212, 175, 55, 0.1) 100%);
  border: 2px solid #D4AF37;
}

#chef-calendar-root .day.florida .day-location {
  background: #D4AF37;
  color: #000000;
}

#chef-calendar-root .legend {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
  flex-wrap: wrap;
}

#chef-calendar-root .legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}

#chef-calendar-root .legend-color {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

#chef-calendar-root .legend-color.ny {
  background: #F4A6C1;
}

#chef-calendar-root .legend-color.fl {
  background: #D4AF37;
}

#chef-calendar-root .admin-panel {
  display: none;
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #333;
}

#chef-calendar-root .admin-panel.visible {
  display: block;
}

#chef-calendar-root .admin-login {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

#chef-calendar-root .admin-input {
  padding: 10px 15px;
  border-radius: 5px;
  border: 2px solid #F4A6C1;
  background: #2a2a2a;
  color: #ffffff;
  font-size: 1em;
}

#chef-calendar-root .admin-btn {
  background: #D4AF37;
  color: #000000;
  border: none;
  padding: 10px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1em;
  transition: all 0.3s ease;
}

#chef-calendar-root .admin-btn:hover {
  background: #F4A6C1;
  transform: scale(1.05);
}

#chef-calendar-root .admin-btn.logout {
  background: #666;
  color: #ffffff;
}

#chef-calendar-root .edit-mode-indicator {
  display: none;
  background: linear-gradient(135deg, #F4A6C1 0%, #D4AF37 100%);
  color: #000000;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-weight: 700;
  text-align: center;
}

#chef-calendar-root .edit-mode-indicator.active {
  display: block;
}

#chef-calendar-root .location-selector {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #1a1a1a;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 50px rgba(244, 166, 193, 0.5);
  z-index: 10001;
  text-align: center;
}

#chef-calendar-root .location-selector.active {
  display: block;
}

#chef-calendar-root .selector-title {
  color: #ffffff;
  font-size: 1.2em;
  margin-bottom: 20px;
  font-weight: 700;
}

#chef-calendar-root .selector-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

#chef-calendar-root .selector-btn {
  flex: 1;
  padding: 15px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1em;
  transition: all 0.3s ease;
}

#chef-calendar-root .selector-btn.ny {
  background: #F4A6C1;
  color: #000000;
}

#chef-calendar-root .selector-btn.fl {
  background: #D4AF37;
  color: #000000;
}

#chef-calendar-root .selector-btn:hover {
  transform: scale(1.05);
}

#chef-calendar-root .selector-btn.clear {
  background: #666;
  color: #ffffff;
}

#chef-calendar-root .overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
}

#chef-calendar-root .overlay.active {
  display: block;
}

/* Mobile */
@media (max-width: 768px) {
  #chef-calendar-root .calendar-widget {
    padding: 30px 15px;
  }
  
  #chef-calendar-root .calendar-title {
    font-size: 1.5em;
  }
  
  #chef-calendar-root .current-month {
    font-size: 1.2em;
  }
  
  #chef-calendar-root .days {
    gap: 5px;
  }
  
  #chef-calendar-root .day {
    padding: 3px;
  }
  
  #chef-calendar-root .day-number {
    font-size: 0.9em;
  }
  
  #chef-calendar-root .day-location {
    font-size: 0.6em;
    padding: 2px 4px;
  }
  
  #chef-calendar-root .weekday {
    font-size: 0.8em;
    padding: 8px 3px;
  }
  
  #chef-calendar-root .location-selector {
    width: 90%;
    padding: 20px;
  }
  
  #chef-calendar-root .selector-buttons {
    flex-direction: column;
  }
  
  #chef-calendar-root .admin-login {
    flex-direction: column;
  }
  
  #chef-calendar-root .admin-input {
    width: 100%;
  }
}
