/* a TAG BTN STYLES */
.btn {
  border: none;
  display: flex;
  margin: 1rem 0;
  color: white;
  cursor: pointer;
  min-width: 120px;
  font-weight: bold;
  align-items: center;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  justify-content: center;
  font-size: var(--txt-m);
  box-shadow: var(--shadow-s);
  border-radius: var(--round-s);
  background-color: var(--clr-primary);
}

.btn:hover {
  background-color: rgb(32, 32, 32);
}

.btn:disabled {
  background-color: var(--clr-gray);
}
.btn.outline {
  color: var(--clr-primary);
  background-color: transparent;
  border: solid var(--clr-primary);
}
.btn.full-width {
  width: 100%;
}

/* PAGE TITLE */
.page-title h1 {
  font-size: var(--txt-2xl);
}

.page-title-link {
  display: block;
  margin-top: 0.5rem;
  font-size: var(--txt-m);
}

/* OUTER INPUT WRAPPER */
.input-text-wrapper {
  position: relative;
}

/* TEXT INPUT WRAPPER */
.input-option-select {
  margin-top: 0.5rem;
  position: relative;
}

.input-text {
  width: 100%;
  padding: 1rem 0.5rem;
  position: relative;
  box-shadow: var(--shadow-s);
  border-radius: var(--round-s);
  outline-color: var(--clr-primary);
  border: solid 1px var(--clr-primary);
}

/* OPTIONS WRAPPER */
.option-select {
  right: 5px;
  top: 6px;
  gap: 0.3rem;
  display: flex;
  position: absolute;
  flex-direction: column;
}

.option-select-btn {
  width: 45px;
  height: 35px;
  font-size: var(--txt-s);
  display: flex;
  align-items: center;
  border-radius: var(--round-s);
  justify-content: center;
  background-color: var(--clr-card);
  border: solid var(--clr-gray);
  cursor: pointer;
}

.unit-options {
  width: 100%;
  background-color: var(--clr-card);
  border-radius: var(--round-s);
  align-items: center;
  flex-direction: column;
  justify-content: space-around;
  display: none;
  z-index: 15;
}

.unit-options.open {
  display: flex;
}

.option {
  width: 100%;
  height: 30px;
  border-radius: var(--round-s);
  display: flex;
  align-items: center;
  font-size: var(--txt-s);
  justify-content: center;
  cursor: pointer;
}

.option:hover {
  background-color: var(--clr-gray);
}

.option.selected {
  background-color: var(--clr-gray);
}

.input-checkbox {
  display: flex;
  gap: 5px;
  margin-bottom: 1rem;
}

.input-checkbox input {
  margin-top: 2px;
}
.input-checkbox label {
  cursor: pointer;
}

.radio-group-wrapper {
  margin-top: 1.5rem;
}
.input-radio-group {
  gap: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  align-items: center;
}
.custom-radio {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.radio {
  gap: 10px;
  height: 30px;
  align-items: center;
  display: inline-flex;
}
.radio label {
  cursor: pointer;
}

.italic {
  font-style: italic;
}

.main-wrapper {
  /* border: solid; */
  margin-top: 2rem;
  margin-bottom: 20rem;
}

.step-question {
  margin-top: 0.5rem;
  font-style: italic;
}
.step-content-wrapper {
  /* border: solid red; */
  margin-top: 1.5rem;
}

.step-link {
  margin-top: 1.5rem;
  display: block;
}

.step-actions {
  gap: 40px;
  display: flex;
  /* border: solid blue; */
  align-items: center;
  margin-top: 1.5rem;
  max-width: 400px;
}

.progress-bar {
  height: 15px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  z-index: 20;
  background-color: white;
}

.progress-indicator {
  height: 100%;
  transition: width 0.3s ease-in-out;
  position: relative;
  background-color: var(--clr-primary);
  border-top-right-radius: var(--round-s);
  border-bottom-right-radius: var(--round-s);
}

.step-label {
  margin-left: 4px;
  font-size: var(--txt-s);
}

.protein {
  color: var(--clr-red);
}
.carb {
  color: var(--clr-green);
}
.fat {
  color: var(--clr-yellow);
}
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  max-width: 500px;
}

.table th,
.table td {
  border: 1px solid var(--clr-gray);
  padding: 8px;
  text-align: left;
}
.table td {
  font-size: 14px;
}

.table th {
  background-color: var(--clr-bg);
  font-size: 14px;
}

.change-btn {
  border-radius: 50%;
  width: 30px;
  height: 30px;
  border: solid var(--clr-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-s);
  cursor: pointer;
}
.change-btn:hover {
  background-color: var(--clr-gray);
}

/* DESKTOP  */
@media screen and (min-width: 1200px) {
  .step-actions {
    margin-left: 13rem;
  }
}
