:root {
  --MRTNavy: #000033;
  --MRTGreen: #29B494;
  --LightBlue: #F4FAFC;
  --LightGreen: #E7F6F3;
  --LightPink: #F9F4F4;
  --White: #FFFFFF;
  --SuperLightGrey: #F5F5F5;
  --LightGrey: #EDEDED;
  --MediumGrey: #C1C1C1;
  --DarkGrey: #595959;
  --Black: #171717;
  --Green: #13BE00;
  --Yellow: #FDC602;
  --BurntOrange: #CF3801;
  --Red: #A90000;
  --Success: #E7F9E5;
  --Warning: #FFF9E6;
  --LightOrange: #FFE6CD;
  --Error: #F6E5E5;
  --Purple: #6A0DAD;
  --MRTGradient: linear-gradient(260deg, #BCFCF0 0%, #F8E9E9 100%);
}

#modal-contact {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  justify-content: center;
  display: none;
  justify-content: center;
  z-index: -1;
}
#modal-contact.active {
  display: flex;
  z-index: 100;
}
#modal-contact .overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10;
}
#modal-contact .modal-content {
  position: relative;
  z-index: 15;
  background-color: var(--White);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  width: 100%;
  width: 600px;
  border-radius: 10px;
}
#modal-contact .modal-content .button-pos {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 111;
}
#modal-contact .modal-content .button-pos button {
  background-color: transparent;
  border: 0;
  cursor: pointer;
}
#modal-contact .modal-content .button-pos button svg {
  fill: var(--Black);
  width: 20px;
}
#modal-contact .modal-content .button-pos button:hover svg {
  fill: var(--MediumGrey);
}
#modal-contact .modal-content .modal-body {
  padding: 30px;
}

#modal-calculator {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  justify-content: center;
  display: none;
  justify-content: center;
  z-index: -1;
}
#modal-calculator.active {
  display: flex;
  z-index: 100;
}
#modal-calculator .overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10;
}
#modal-calculator .modal-content {
  position: relative;
  z-index: 15;
  background-color: var(--White);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  width: 100%;
  width: 600px;
  border-radius: 10px;
}
#modal-calculator .modal-content .button-pos {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 111;
}
#modal-calculator .modal-content .button-pos button {
  background-color: transparent;
  border: 0;
  cursor: pointer;
}
#modal-calculator .modal-content .button-pos button svg {
  fill: var(--Black);
  width: 20px;
}
#modal-calculator .modal-content .button-pos button:hover svg {
  fill: var(--MediumGrey);
}
#modal-calculator .modal-content .modal-body {
  padding: 30px;
  width: 100%;
}
#modal-calculator .modal-content .calculator-body {
  text-align: left;
}
#modal-calculator .modal-content .calculator-body h2 {
  margin-bottom: 24px;
}

.training-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 12px;
}

.training-dropdown {
  flex: 1;
  min-width: 0;
}

.field-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--Black);
  margin-bottom: 8px;
}

.training-select {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--LightGrey);
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--Black);
  background-color: var(--SuperLightGrey);
  -webkit-appearance: auto;
     -moz-appearance: auto;
          appearance: auto;
}
.training-select:focus-visible {
  outline: 2px solid var(--MRTNavy);
  outline-offset: -1px;
  border-color: var(--MRTNavy);
}

.multiply-symbol {
  height: 40px;
  line-height: 40px;
  font-size: 0.875rem;
  color: var(--Black);
  flex-shrink: 0;
}

.learners-input {
  width: 80px;
  flex-shrink: 0;
}

.learners-count {
  width: 100%;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--LightGrey);
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--Black);
  background-color: var(--SuperLightGrey);
}
.learners-count:focus-visible {
  outline: 2px solid var(--MRTNavy);
  outline-offset: -1px;
  border-color: var(--MRTNavy);
}
.learners-count::-webkit-inner-spin-button, .learners-count::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.learners-count {
  -moz-appearance: textfield;
}

.delete-row-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  width: 44px;
  min-width: 44px;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--DarkGrey);
}
.delete-row-btn:hover {
  color: var(--MRTNavy);
}

.add-training-link {
  background: none;
  border: none;
  color: var(--MRTNavy);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  margin-top: 5px;
}
.add-training-link:hover {
  text-decoration: underline;
}

.calculator-footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.total-credits {
  font-size: 20px;
  font-weight: 500;
  color: var(--Black);
  margin: 0;
}

.btn-full {
  display: block;
  width: 100%;
  text-align: center;
}