* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: #ecf0f1;
  color: #2c3e50;
  line-height: 1.6;
}

.tracker__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.tracker__month {
  font-size: 24px;
  font-weight: 300;
}
.tracker__nav-btn {
  text-decoration: none;
  color: #8e44ad;
  font-weight: bold;
  padding: 5px 10px;
}
.tracker__scrollnote {
  text-align: center;
  font-size: 20px;
  color: #7f8c8d;
  margin-top: 10px;
}

.button {
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.2s;
}
.button--primary {
  background-color: #8a2be2;
  color: white;
  width: 100%;
}
.button--primary:hover {
  background-color: #701ac0;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(44, 62, 80, 0.9);
  z-index: 1000;
  display: none;
}
.modal.is-open {
  display: flex;
}
.modal__content {
  background-color: #ffffff;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  padding: 20px;
}
.modal__header {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  margin-bottom: 20px;
  gap: 10px;
}
.modal__nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  color: #2c3e50;
  font-size: 16px;
  padding: 5px;
}
.modal__close-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  grid-column: 4;
  font-size: 24px;
  font-weight: bold;
  color: #7f8c8d;
}
.modal__title {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  grid-column: 2/4;
}
.modal__block {
  margin-bottom: 20px;
}
.modal__block--saved {
  background-color: #ecf0f1;
  padding: 15px;
  border-radius: 4px;
}
.modal__block-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}
.modal__separator {
  border: 0;
  height: 1px;
  background-color: #ecf0f1;
  margin: 20px 0;
}

.form__group {
  margin-bottom: 15px;
}
.form__group--half {
  flex: 1;
  margin-right: 15px;
}
.form__group--half:last-child {
  margin-right: 0;
}
.form__row {
  display: flex;
  margin-bottom: 15px;
}
.form__label {
  display: block;
  font-size: 12px;
  color: #7f8c8d;
  margin-bottom: 5px;
}
.form__input {
  width: 100%;
  padding: 10px;
  border: 1px solid #bdc3c7;
  border-radius: 4px;
  font-size: 14px;
}
.form__input--select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%232c3e50" d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 30px;
}

.workout-list__message {
  font-style: italic;
  color: #7f8c8d;
  font-size: 14px;
  text-align: center;
  padding: 10px 0;
}
.workout-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  margin-top: 5px;
  background-color: #ffffff;
  border: 1px solid #ecf0f1;
  border-radius: 4px;
  font-size: 14px;
}
.workout-list__delete-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  color: #e74c3c;
  font-size: 16px;
  margin-left: 10px;
  padding: 0 5px;
}

.form-message {
  padding: 10px;
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 15px;
}
.form-message--success {
  background-color: #d4edda;
  color: #155724;
}
.form-message--error {
  background-color: #f8d7da;
  color: #721c24;
}

.calendar {
  background-color: #ffffff;
  border-radius: 8px;
  width: 100%;
  max-width: 900px;
  margin: 20px auto;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.calendar__week-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: bold;
  color: #8e44ad;
  padding-bottom: 10px;
  border-bottom: 1px solid #bdc3c7;
  margin-bottom: 5px;
  font-size: 12px;
}
.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.calendar__day {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.1s, border-radius 0.1s;
  border: 1px solid transparent;
}
.calendar__day:hover:not(.calendar__day--disabled) {
  background-color: #e4d0ed;
  border-radius: 4px;
}
.calendar__day--today {
  border: 2px solid #8e44ad;
  border-radius: 4px;
  font-weight: bold;
}
.calendar__day--filled {
  color: #8e44ad;
  font-weight: bold;
  position: relative;
}
.calendar__day--filled::after {
  content: "";
  position: absolute;
  bottom: 5px;
  width: 4px;
  height: 4px;
  background-color: #8e44ad;
  border-radius: 50%;
}
.calendar__day--disabled {
  color: #bdc3c7;
  cursor: default;
}/*# sourceMappingURL=training.css.map */