* {
  
  font-family: var(--cnvs-secondary-font);
}

html {
  scroll-behavior: smooth;
}

body::-webkit-scrollbar {
  display: none;
}

a {
  text-decoration: none !important;
}

.calc-body {
  padding: 0px;
  margin: 0px;
  font-family: var(--cnvs-secondary-font);
}

/* Calculator header */

@keyframes fadeLoad {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.calc-header {
  width: 100%;
  background: transparent;
  animation: fadeLoad 1.5s;
}

.calc-header-info {
  display: flex;
    flex-direction: column;
    align-items: center;
  padding-top: 30px;
  max-width: 820px;
  margin: 0px auto;
}

@keyframes calcInfo {
  from {
    opacity: 0;
    transform: translateY(-200px);
  }
  25% {
    opacity: 0;
    transform: translateY(-200px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}


.calc-header-logo {
  width: 173px;
  margin-bottom: 15px;
}

.calc-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0;
}

@keyframes embedBtnPopup {
  0% {
    transform: translateX(300px);
    opacity: 0;
  }
  85% {
    transform: translateX(300px);
    opacity: 0;
  }
  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}

.calc-header-btn {
  padding: 12px 18px;
  color: white;
  background: #1977c555;
  backdrop-filter: blur(8px);
  border: 1px solid #3989cc66;
  cursor: pointer;
  border-radius: 8px;
  font-weight: 500;
  transition: transform 0.5s, opacity 0.5s, background 0.5s;
  position: fixed;
  top: 1em;
  right: 1em;
  font-size: 16px;
}

.calc-header-btn:hover {
  background: #4390cf;
}

@media(max-width: 600px) {
  .calc-header-btn {
    display: none;
  }
}

@keyframes calcMain {
  from {
    transform: scale(1) translateY(-200px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0px);
    opacity: 1;
  }
}

.calc-main {
  width: 100%;
  margin: 45px 0px 0px;
  background: #e7e7f0;
  border-radius: 24px;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  /* box-shadow: 18px 17px 32px -1px rgb(30, 22, 86); */
  padding: 70px 50px;
  max-width: 1200px;
  overflow: none;
}

.calc-header-row {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
}

.calc-header-col {
  min-width: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.calc-header-col:first-child {
  margin-bottom: 2em;
}

.calc-header-title {
  font-style: normal;
  font-weight: 600;
  font-size: 45px;
  line-height: 125%;
  text-align: center;
  color: #ffffff;
  margin-bottom: 0;
}

.calc-header-subtitle {
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 29px;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  padding: 0px 40px;
}

.calc-header-subtitle-number {
  font-size: 37px;
  line-height: 44px;
  text-shadow: 1px 1px 40px rgba(22, 23, 31, 1);
  font-weight: 900;
}

.calc-form-group {
  margin-bottom: 1em;
}

.bathrooms-desktop {
  display: block;
}

.bathrooms-responsive {
  /* display: none; */
}

@media (max-width: 1000px) {
  .calc-main, .calc-embed-wrapper {
    padding: 40px 30px;
  }

  .calc-header-row {
        align-items: flex-start;
    justify-content: center;
  }

  .calc-header-col {
    max-width: 100%;
  }

  .hide-on-mobile {
    display: none;
  }

  .calc-form-col {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .calc-header-col {
    min-width: 100%;
  }
  .calc-header-title {
    font-size: 30px;
  }

  .calc-header-subtitle {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 0px;
  }

  .calc-header-subtitle-number {
    font-size: inherit;
    line-height: inherit;
  }
}

@media (max-width: 550px) {
  .calc-form-row {
    flex-direction: column;
    align-items: center;
  }

  .bathrooms-desktop {
    display: none;
  }

  .bathrooms-responsive {
    display: block;
  }
}

/* Calculator form */

.calc-card {
  width: 100%;
  padding: 14px 30px;
  max-height: fit-content;
  background: white;
  border-radius: 12px;
}

.calc-card:first-child {
  
  margin-bottom: 26px;
}

.calc-form {
  width: 100%;
}

.calc-form-row {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
}

.calc-form-group {
  max-width: 209px;
  /* margin: 0px 76px 30px 0px; */
}

.calc-form-select {
  width: 209px;
  height: 48px;
  font-size: 16px;
  line-height: 100%;
  text-align: left;
  cursor: pointer;
  outline: none;
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
  font-style: normal;
  font-weight: 400;
  color: #161515db;
  font-family: var(--cnvs-secondary-font);
  background-image: url('select-arrow.svg');
  background-repeat: no-repeat;
  -webkit-appearance: none;
  background-position-x: 180px;
  background-position-y: 20px;
  padding: 10px 12px;
  border: 1px solid #2f2f2f;
  box-sizing: border-box;
  border-radius: 4px;
  background-color: transparent;
  transition: 0.25s;
}

.no-arrow {
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 1px;
  text-overflow: '';
  padding: 0 50px 0 45px;
  background-image: none;
}

.calc-increment-decrement-wrapper {
  position: relative;
}

.calc-select-btn {
  width: 20px;
  height: 20px;
  background: #140e2f;
  border-radius: 10px;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  cursor: pointer;
  user-select: none;
}

.calc-header-cta {
  padding: 20px 25px;
  font-size: 18px;
  margin: 30px 0px 0px 0px;
  border-radius: 10px;
  background: transparent;
  color: white;
  border: 1.5px solid white;
  transition: 0.25s;
}
.calc-header-cta:hover {
    background: white;
    color: #241C4E;
}

.calc-select-btn.decrement {
  left: 12px;
}

.calc-select-btn.increment {
  right: 12px;
}

.calc-form-label {
  margin-bottom: 8px;
  display: block;
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.2px;
  color: black;
  text-transform: uppercase;
}

@media (max-width: 480px) {
  .calc-form-row {
    flex-direction: column;
  }
}

/* Total section */

.total-label {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin-top: 0px;
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  color: rgb(12 12 12 / 95%);
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.total-amount {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 40px;
  line-height: 46px;
  color: #0b0b0b;
  margin: 0px;
}

.total-table-wrapper {
  width: 100%;
  border-radius: 5px;
  overflow: hidden;
}

.total-table {
  border-collapse: collapse;
  width: 100%;
  font-style: normal;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 0.0015em;
  color: #111111;
}

.total-table-header {
  line-height: 20px;
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  color: black;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.total-table td,
.total-table th {
  text-align: left;
  padding: 12px 0px;
}

.total-table tr {
  background: transparent;
}

.total-table tr td:nth-child(1) {
  opacity: 0.8;
}

.total-table tr td:nth-child(2),
.total-table tr th:nth-child(2) {
  text-align: right !important;
  font-weight: 600;
}

/* Embed */

.calc-btn {
  font-family: var(--cnvs-secondary-font);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 40px;
  background: #4390cf;
  border-radius: 12px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: 0.2s;
  width: auto;
  margin-right: 15px;
  max-width: 300px;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  color: #ffffff;
}

.calc-btn:hover {
  background: #2daff0;
}

.calc-btn-text {
  margin-right: 7px;
}

.calc-btn-icon {
  margin-left: 7px;
}

.toggle-arrow {
  transition: 0.2s;
}

#toggle-embed-btn {
  margin: 1em 0;
  
}

.calc-embed-wrapper {
  width: 100%;
  margin: 0px 20px 30px;
  background: #140e2f;
  border-radius: 24px;
  border-top: 1px dashed #fff9;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  /* box-shadow: 18px 17px 32px -1px rgb(30, 22, 86); */
  padding: 40px 50px;
  max-width: 1200px;
  overflow: hidden;
  position: relative;
}

.calc-embed-subtitle {
  font-style: normal;
  font-weight: bold;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0.0025em;
  color: #f9f9f9;
  margin-top: 0;
}

.calc-embed-code {
  background: #241c4e;
  border-radius: 12px;
  padding: 15px;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.005em;
  color: #ffffff;
  margin-bottom: 30px;
  overflow: hidden;
}
.calc-embed-inside {
  overflow: hidden;
  border-radius: 18px;
}

.code-copied {
  opacity: 0;
  background: #fff3;
  padding: 8px;
  border-radius: 8px;
  color: #fff;
  text-align: center;
  max-width: 150px;
  transition: opacity 0.2s;
}

.calc-embed-btn-wrapper {
  display: flex;
  align-items: center;
}

.calc-embed-code-text {
  background: #140e2f;
  padding-top: 24px;
  padding: 30px;
  border-radius: 18px;
  opacity: 1;
  overflow-y: hidden;
  overflow-x: scroll;
  text-overflow: clip;
  white-space: nowrap;
}

.calc-embed-code-text::-webkit-scrollbar {
  height: 5px;
  background: transparent;
}

.calc-embed-code-text::-webkit-scrollbar-thumb {
  height: 5px;
  background: #fff3
}

.powered {
  margin-top: 1em;
  font-size: 12px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
