:root {
  --main-dark-color: rgb(165, 165, 165);
  --btn-main-color: #d7d7d7;
  --main-text-color: rgb(101, 101, 101);
  --main-bkg-light: rgb(236, 236, 236);
  --main-accent-col: rgb(64, 200, 255);
  --main-accent-col-muted: rgb(161, 228, 255);
  --main-body-col: #212529;

  --main-error-col: #ff7841;
  --main-success-col: #69ff41;
  --main-highlight-col: #d741ff;

  --main-error-col-muted: #ffb192;
  --main-success-col-muted: #b6fba4;
}

body {
  background: lightgray;
  margin-bottom: 100px;
}

#goal-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
}

.goal {
  display: flex;
  /*border: 2px solid var(--main-dark-color);*/
  border-radius: 12px;
  padding: 10px;
  background: var(--main-bkg-light);
  min-height: 71px;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}

.goal.complete {
  background-color: var(--main-success-col-muted);
}

.goal.edit {
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.goal span {
  width: 32px;
  font-size: 22px;
  margin-left: 0px;
  margin-top: -5px;
  margin-right: 5px;
  color: var(--main-body-col);
}

.goal h2 {
  flex: 0 1 auto;
  font-size: 22px;
  color: var(--main-body-col);
  margin-top: auto;
}

.goal textarea {
  flex: 1 1 auto;
  border: 1px solid var(--main-dark-color);
  border-radius: 5px;
  background: none;
  color: var(--main-body-col);
  font-size: 20px;
  width: 100%;
}

.goal button {
  font-size: 15px;
  background-color: rgb(215, 215, 215);
  min-width: 50px;
  margin-left: 10px;
  box-shadow: none;
}

button.editor {
  font-size: 15px;
  background-color: rgb(215, 215, 215);
  min-width: 50px;
  margin-top: 10px;
  margin-left: 0px;
  box-shadow: none;
}

button.submit {
  font-size: 15px;
  background-color: var(--main-accent-col);
  min-width: 50px;
  margin-top: 10px;
  margin-left: 0px;
  box-shadow: none;
}

.tile-edit {
}

button {
  border: none;
  border-radius: 10px;
  padding: 5px;
  font-size: 30px;
  background: none;
  background-color: var(--main-bkg-light);
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-body-color);
  touch-action: manipulation;
}

button.back h2 {
  margin-top: 8px;
  margin-left: 10px;
}

.glow {
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}

#back {
  text-align: start;
  font-size: 40px;
  padding-left: 15px;
  width: 60px;
}

.detail-modal {
  /* display: none; */
  position: absolute;
  top: 10px;
  right: 10px;
  left: 10px;
  background-color: var(--main-bkg-light);
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.shade {
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.detail-modal.fullscreen {
  position: fixed;
  border-radius: 0;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

.detail-modal-header {
  margin-top: 0px;
  margin-left: 10px;
  flex: 0 0 auto;
  display: flex;
}

.detail-modal-body {
  margin-top: -10px;
  flex: 1 1 auto;
  overflow-y: scroll;
  padding: 10px;
  display: flex;
  flex-direction: column;
}

.detail-modal-footer {
  padding: 0px;
  flex: 0 0 auto;
}

.btn-group {
  display: flex;
  gap: 12px;
  width: 100%;
}
.btn-group button {
  flex: 1 1 auto;
}

button.large {
  height: 80px;
  display: flex;
  padding: 0 40px;
  flex-direction: column;
}

button.large h2 {
  margin-bottom: -2px;
}

button.large span {
  font-size: 15px;
}
button.large h2 {
}

.task-container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  padding: 10px;
  gap: 10px;
}

.task {
  position: relative;
  flex: 1 0 auto;
  border-radius: 10px;
  padding: 10px;
  border: 2px solid var(--main-dark-color);
  cursor: pointer;
}
.task i {
  display: none;
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 20px;
}

.task.done {
  background-color: var(--main-success-col-muted);
  cursor: default;
}

.task.done i {
  display: block;
}

.hidden {
  display: none;
}

.start-footer {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 10px;
  background-color: var(--main-bkg-light);
  display: flex;
}

.start-footer button {
  flex: 1 0 auto;
  height: 100px;
  background-color: var(--main-accent-col);
  color: white;
}

.training-container {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.training-body {
  padding: 0 0 10px 0;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  text-align: center;
  margin-top: 20px;
}

.training-body h2 {
  margin-bottom: 0px;
}

.training-group {
  width: 100%;
  border-radius: 10px;
  padding: 5px;
  background-color: #dfdfdf;
}

.training-group h3 {
  margin-bottom: 2px;
  font-size: 20px;
}

.training-group p {
  margin-bottom: 2px;
}
.training-goal {
  background-color: var(--main-accent-col);
  color: white;
  padding: 5px;
  font-size: 20px;
  margin-bottom: 0;
  border-radius: 10px;
  padding: 4px 15px;
  max-height: 100px;
  overflow-y: scroll;
}

.badge-container {
  font-size: 15px;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
  flex: 1 0 auto;
}
.badge-container.title {
  display: flex;
  width: auto;
  justify-content: flex-start;
  align-items: center;
  margin-left: 10px;
}

.training-badge {
  height: 32px;
  border-radius: 20px;
  padding: 5px;
  padding-right: 10px;
  padding-left: 10px;
  background-color: var(--main-accent-col);
  color: white;
  font-weight: 600;
}

.goal-num-container {
  display: flex;
  align-items: center;
  gap: 5px;
  position: absolute;
  top: 10px;
}

.goal-num {
  height: 25px;
  border-radius: 50%;
  width: 25px;
  background-color: var(--main-accent-col-muted);
  display: flex;
  justify-content: center;
  align-items: center;
}

.goal-num span {
  flex: 0 1 auto;
  color: white;
  font-size: 15px;
}

.goal-num-active {
  height: 50px;
  border-radius: 50%;
  width: 50px;
  background-color: var(--main-accent-col);
}
.goal-num-active span {
  flex: 0 1 auto;
  color: white;
  font-size: 35px;
  margin-left: 3px;
}

.large.error {
  background-color: var(--main-error-col);
  border: 2px solid var(--main-body-col);
}

.large.success {
  background-color: var(--main-success-col);
  border: 2px solid var(--main-body-col);
}

.editor-group {
  margin-top: 10px;
  display: flex;
  justify-content: space-evenly;
}

.editor.toggle {
  display: flex;
  align-items: center;
  width: fit-content;
}

.editor.num {
  display: flex;
  align-items: center;
  width: fit-content;
}

.editor.num input {
  margin-left: 10px;
  background: none;
  background-color: var(--btn-main-color);
  border-radius: 10px;
  border: none;
  padding: 5px;
  text-align: center;
  width: 100px;
}

.check {
  height: 40px;
  width: 40px;
  border-radius: 10px;
  margin-left: 10px;
  background-color: var(--btn-main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.checkbox {
  display: none;
}

.checkbox.checked {
  margin-left: 1px;
  display: flex;
  height: 25px;
  width: 25px;
  border-radius: 5px;
  background-color: var(--main-accent-col);
}

.wizard-title {
  text-align: center;
  width: 100%;
  margin-bottom: 0;
}

.wizard-container {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.wizard-container > div > div {
  width: 100%;
}

.wizard-container > * h2 {
  margin-bottom: 0px;
}

.wizard-body > * button.submit {
  display: none;
}

.wizard-heading > * button {
  display: none;
}

.wizard-body > * p {
  text-align: center;
}

.wizard-container > * .goal h2 {
  font-size: 20px;
  margin-top: 0;
}
.wizard-container > * .goal {
  margin-bottom: 10px;
}

.wizard-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
}

.wizard-footer {
  width: 100%;
  display: flex;
  gap: 10px;
}

.wizard-heading {
  width: 100%;
  display: flex;
  flex: 0 1 auto;
}

.wizard-footer button {
  flex: 1 0 auto;
  height: 68px;
  background-color: var(--main-accent-col);
  color: white;
  font-size: 40px;
}

.navbar {
  padding: 5px 10px 5px 10px;
}

.load-list {
  padding: 0 20px 0 20px;
}
.load-list li {
  list-style-type: none;
  width: 100%;
  background-color: var(--main-accent-col);
  border-radius: 5px;
  margin-bottom: 5px;
  padding: 5px 10px;
  color: white;
  cursor: pointer;
}

.load-list li > a {
  text-decoration: none;
  color: white;
}
