:root {
  --textGray: #868c91;
  --textDarkGreey: #4a555d;
  --colorGreen: #5daa45;
}

body,
input,
label,
p,
div,
a,
span,
button {
  font-family: "Muli";
  font-weight: 400;
  color: var(--textGray);
}

a {
  color: var(--colorGreen);
  text-decoration: none;
}

a:hover {
  opacity: 0.8;
  color: var(--colorGreen);
  text-decoration: underline;
}

.green {
  color: var(--colorGreen);
}

.main-wrapper {
  height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.side-section {
  background-color: var(--colorGreen);
  background-image: url(../img/side-bottom-bg.png), url(../img/side-top-bg.png);
  background-position: center bottom, center top;
  background-repeat: no-repeat, no-repeat;
  background-size: contain, 70%;
  display: flex;
}

.step-wrapper {
  display: flex;
  justify-content: space-around;
}

.step-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.step-box > .step-label {
  color: #ffffff;
  font-size: 1.2rem;
  font-family: "Muli";
  font-weight: 400;
  opacity: 0.7;
}

.step-box.active > .step-label {
  font-weight: 700;
  opacity: 1;
}

.step-box.active > .step {
  border: 3.5px solid var(--colorGreen);
  color: #4a555d;
  font-weight: 700;
}

.step-box.done > .step {
  background-color: var(--colorGreen);
  color: #ffffff;
}

.step {
  height: 5rem;
  width: 5rem;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--textGray);
  border-radius: 50%;
  font-weight: 500;
  font-size: 1.25rem;
  box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.1);
}

/* Header Section */

.main-section {
  padding: 1rem 6rem;
  overflow-y: auto;
}

.header-section,
.footer-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-section .logo {
  max-width: 205px;
  width: 100%;
}

.header-section .trouble-box > a {
  color: var(--colorGreen);
  text-decoration: none;
  font-weight: 600;
  margin-left: 0.3rem;
}

.form-section h1 {
  font-size: 2rem;
  margin-block: 1.5rem;
  font-weight: 700;
}

.form-section {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.form-section form {
  width: 50%;
}

.form-control {
  border-radius: 10px;
}

.price-text {
  font-size: 2rem !important;
}

.form-control:focus {
  color: #212529;
  background-color: #fff;
  border-color: rgba(121, 185, 102, 0.5) !important;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgb(93 170 69 / 25%);
}

.form-check-input:checked {
  background-color: var(--colorGreen);
  border-color: var(--colorGreen);
}

.form-check-input:focus,
.form-select:focus {
  box-shadow: none;
  border-color: var(--colorGreen);
}

.form-select {
  padding: 0.8rem 0.75rem;
  border-radius: 10px;
  color: #868c91;
  font-size: 1.1rem;
}

.footer-section {
  height: 8rem;
}

.footer-section .login > a {
  font-weight: 600;
  margin-left: 0.3rem;
}

.continue-button > button {
  background-color: var(--colorGreen);
  padding: 0.6rem 4rem;
  color: #ffffff;
  border: 2px solid var(--colorGreen);
  border-radius: 10px;
  font-weight: 600;
  min-width: 240px;
  letter-spacing: 1px;
  transition: all ease-in-out 0.1s;
  white-space: nowrap;
}

.continue-button > button:hover {
  background-color: #ffffff;
  color: var(--colorGreen);
}

.continue-button > button:disabled {
  background-color: #4c633d;
  border-color: #4c633d;
  color: #ffffff;
}

.back-button button {
  background-color: #ffffff;
  border: 2px solid var(--colorGreen);
  border-radius: 10px;
  font-weight: 600;
  padding: 0.6rem 4rem;
  color: var(--colorGreen);
  width: 240px;
  transition: all ease-in-out 0.1s;
}

.back-button button:hover {
  background-color: var(--colorGreen);
  color: #ffffff;
}

@media (max-width: 768px) {
  .header-section {
    flex-direction: column;
  }

  .step-wrapper {
    margin-bottom: -4rem;
    height: 8rem;
    width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .side-section {
    background-image: none;
    max-height: 4rem;
  }

  .step {
    height: 4rem;
    width: 4rem;
  }

  .header-section .logo {
    max-width: 140px;
    margin-bottom: 1rem;
  }

  .main-section {
    padding: 1rem 1.5rem 4rem;
    margin-top: 4rem;
  }

  .form-section h1 {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
  }

  .form-section form {
    width: 100%;
  }

  .footer-section {
    margin-top: 2rem;
    height: 6rem;
    flex-direction: column-reverse;
  }

  .form-section .form-check-label {
    font-size: 0.8rem;
  }

  .footer-section .back-button button {
    margin-top: 1rem;
  }
}

@media (min-width: 768px) and (max-width: 1200px) {
  .form-section form {
    width: 85%;
  }

  .trouble-box {
    white-space: nowrap;
    padding-left: 1rem;
  }

  .main-section {
    padding: 3rem 5rem;
  }

  .form-section h1 {
    font-size: 1.4rem;
  }
  .footer-section {
    flex-direction: column-reverse;
    height: unset;
    margin-top: 1rem;
  }
  .footer-section > div {
    margin-top: 1rem;
  }
}

.password-icon {
  right: 3%;
  top: 25%;
  color: var(--textGray);
  opacity: 0.5;
}

.confirm-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 15rem);
  margin-top: 2rem;
}

.notification-message,
.notification-message .message,
.notification-message .title {
  color: white;
}

.notification-info {
  background-color: #62b7d8 !important;
}

.notification-success {
  background-color: var(--colorGreen) !important;
}

.notification-warning {
  background-color: #daa555 !important;
}

.notification-error {
  background-color: #d57471 !important;
}

.react-tel-input .flag-dropdown,
.react-tel-input .flag-dropdown:hover,
.react-tel-input .selected-flag {
  border-radius: 10px 0 0 10px !important;
}

@media (min-width: 768px) {
  .step-box {
    min-width: 250px;
  }

  .step-wrapper {
    flex-direction: column;
    height: 43%;
    margin-right: -2.5rem;
  }

  .main-section {
    max-height: 100vh;
  }
}

@media (min-width: 1700px) {
  .step-box {
    min-width: 300px;
  }

  .main-section {
    padding: 3rem 6rem;
  }

  .form-section h1 {
    margin-block: 3rem;
  }
}
