/* Frylow Savings Calculator Styles
 */

/* Scoped box-sizing */
.flc-wrapper *,
.flc-wrapper *::before,
.flc-wrapper *::after {
  box-sizing: border-box;
}

.flc-wrapper {
  max-width: 1300px;
  margin: 50px auto;
  padding: 30px;
  background-color: #FFFFFF;
  box-shadow: 0 0 8px 0 rgba(0, 28, 22, 0.7);
  border-radius: 12px;
  border: 2px solid #00513E;
}

/* Base container style, removed body styles */
.flc-wrapper .flc-container {
  font-family: "Jost", "Montserrat", Arial, sans-serif;
  color: #000000;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.flc-wrapper .flc-calculator,
.flc-wrapper .flc-results,
.flc-wrapper .flc-cta {
  width: 100%;
  justify-content: center;
}

.flc-wrapper h2 {
  text-align: center;
  margin: 0 0 30px 0;
  color: #00513e;
  font-size: 32px;
  font-weight: normal;
  font-style: normal;
}

.flc-wrapper #flc-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: normal;
  color: #000000;
  font-size: 16px;
}

.flc-wrapper #flc-form input,
.flc-wrapper #flc-form select {
  width: 100%;
  padding: 9px 11px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #666;
  font-size: 15px;
  color: #141414;
  background-color: #fff;
  transition: border-color 0.25s ease;
}

.flc-wrapper #flc-form input:focus,
.flc-wrapper #flc-form select:focus {
  border-color: #00513e;
  outline: none;
}

.flc-wrapper .flc-results {
  background-color: #00513E;
  color: #FFFFFF;
  text-align: center;
  padding: 25px;
  border-radius: 10px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.flc-wrapper .flc-result-split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid #e5eeeb;
  width: 100%;
}

.flc-wrapper .flc-result-box {
  flex: 1;
  padding: 20px 15px;
  text-align: center;
}

.flc-wrapper .flc-result-box:not(:last-child) {
  border-right: 1px solid #e5eeeb;
}

.flc-wrapper .flc-container h3,
.flc-wrapper .flc-result-box h3 {
  font-size: 18px;
  margin: 0 0 10px 0;
  font-weight: normal;
  color: #FFFFFF;
}

.flc-wrapper .flc-payback p,
.flc-wrapper .flc-result-box p {
  font-size: 32px;
  font-weight: bold;
  margin: 0;
  color: #FFFFFF;
}
.flc-wrapper .flc-payback p {
	font-style: italic;
}

.flc-wrapper .flc-payback {
	overflow: hidden;
	margin-bottom: 20px;
}

.flc-wrapper .flc-badge img {
  margin: 0 0 20px 0;
  width: 250px;
  max-width: 100%;
  height: auto;
}

.flc-wrapper .flc-disclaimer {
  font-size: 13px;
  font-style: italic;
  color: #e5f9f0;
  text-align: center;
  margin: 0;
}

.flc-wrapper .flc-cta {
  background-color: #00372a;
  margin-top: 25px;
  color: #FFFFFF;
  text-align: center;
  padding: 45px 25px;
  border-radius: 10px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flc-wrapper .flc-cta .flc-cta-text {
  font-size: 32px;
  color: #FFFFFF;
  line-height: 1.3;
  margin: 0 0 30px 0;
  font-weight: bold;
}

.flc-wrapper .flc-cta .flc-cta-button {
  display: block;
  text-align: center;
  margin: 0 auto;
  padding: 15px 32px;
  background-color: #dbdb00;
  color: #000000;
  border: 2px solid #001c16;
  border-radius: 8px;
  font-size: 20px;
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  text-decoration: none !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.flc-wrapper .flc-cta .flc-cta-button:hover {
  background-color: hsl(60, 100%, 52%); /* The standard yellow, but lighter by 9% */
  color: #001c16;
}

@media (min-width: 768px) {
  .flc-wrapper .flc-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
  }

  .flc-wrapper .flc-calculator,
  .flc-wrapper .flc-results {
    width: 48%;
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .flc-wrapper .flc-disclaimer {
    padding-top: 30px !important;
  }

  .flc-wrapper .flc-result-split {
    flex-direction: column;
    gap: 20px;
  }

  .flc-wrapper .flc-result-box:not(:last-child) {
    border-right: 0 none;
    border-bottom: 1px solid #e5eeeb;
  }

  .flc-wrapper .flc-results,
  .flc-wrapper .flc-cta {
    justify-content: flex-start !important;
  }
  
  .flc-wrapper .flc-result-box p {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    color: #FFFFFF;
  }
}
