/*  GLOBAL  */

.carer-home {
  color: #2b2b2b;
}
.carer-page p
{
font-weight: 560;
}

.carers-banner {
  background-size: cover;
  background-size: 100%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  min-height: 450px;
  justify-content: center;
}
.carers-banner h1 {
font-weight: bold;
font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.2;
}
.carer-home .section {
  padding: 80px 0;
}
.carer-home h2 {
  margin-bottom: 20px;
    font-size: clamp(1.5rem, 3.4vw, 1.8rem);
    line-height: 1.15;
    font-weight: 800;
    color: #2b2d33;
}
.brand {
  color: #35675f;
}
.carer-home .hero-content {
  max-width: 500px;
}
.carer-home .hero-content p {
  font-weight: 560;
  padding: 20px 0;
  line-height: 24px;
}
.carer-home .hero-content .btn-hero {
  background-color: #34675f !important;
  color: white;
}
.carer-home .hero-content .btn-hero:hover {
  background-color: #2e5750 !important;
}
.carer-home .hero-content .btn-hero:focus {
  outline: none;
  box-shadow: none;
}
/*  WHY DIFFERENT SECTION  */

.why-different {
  padding: 80px 0;
}
.section-title {
  text-align: center;
  font-size: 44px;
  margin-bottom: 70px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.feature-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.06);
  background: #ffffff;
  transition: 0.3s ease;
}
.feature-top {
  background: #35675f;
  padding: 15px;
}
.feature-header {
  display: flex;
  align-items: center;
  gap: 18px;
}
.feature-top h4 {
  font-size: 20px;
  color: #ffffff;
  margin: 0;
}
.feature-icon {
  width: 50px;
  height: 50px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon img {
  width: 32px;
  height: 32px;
}

.feature-bottom {
  padding: 35px 30px 45px;
}
.feature-bottom p {
  font-size: 16px;
  line-height: 1.4;
  color: #4b5563;
  margin: 0;
}
/*  ONBOARDING + ELIGIBILITY  */

.onboarding-section {
  background: linear-gradient(180deg, #e9edf5 0%, #dfe6f1 100%);
  padding: 120px 0;
}
.onboarding-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.onboarding-left {
  flex: 1.6;
}

.onboarding-left h2 {
  margin-bottom: 10px;
  font-weight: 800;
  color: #2b2d33;
}

.subtext {
  font-size: 16px;
  color: #4b5563;
  margin-bottom: 30px;
  max-width: 680px;
  font-weight: 400;
}

/* Step Cards */

.steps {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.step-card {
  background: #ffffff;
  padding: 20px 15px;
  border-radius: 22px;
  flex: 1;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.06);
}

.step-number {
  width: 50px;
  height: 50px;
  background: #35675f;
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.step-card h5 {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 600;
}

.step-card p {
  font-size: 14px;
  line-height: 1.4;
  color: #4b5563;
  font-weight: 400;
}

/* Earnings Info */

.earnings-info h4 {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 10px;
  font-weight: 400;
}

.highlight {
  color: #35675f;
  font-weight: 600;
}

.earnings-note {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.4;
  font-weight: 400;
}

/* Eligibility Card */

.eligibility-card {
  flex: 1;
  background: #ffffff;
  padding: 20px;
  border-radius: 22px;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.08);
  margin-top: 20px;
  max-width: 375px;
}

.eligibility-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.eligibility-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.eligibility-list li {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
  align-items: center;
}

.eligibility-icon {
  width: 36px;
  height: 36px;
  background: #e5ecfc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.eligibility-icon img {
  width: 18px;
  height: 18px;
}

/*  APP PROMO  */

.app-promo {
  background: linear-gradient(180deg, #eef2f8 0%, #e8edf7 100%);
  padding-bottom: 0 !important;
}

.app-wrapper {
  display: flex;
  align-items: center;
  gap: 80px;
}

.app-buttons {
  margin-top: 30px;
  display: flex;
  gap: 20px;
}

.app-buttons img {
  height: 50px;
}

/*  RESPONSIVE  */

@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .onboarding-wrapper {
    gap: 60px;
  }
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .onboarding-wrapper,
  .earnings-wrapper,
  .steps {
    flex-direction: column;
  }
}

#carer-earnings-calculate-form #edit-job-type .form-type-radio label {
  font-size: 15px !important;
  white-space: nowrap;
  line-height: 1.2 !important;
  color: #676779 !important;
  margin: 0px 10px 10px 0px !important;
  width: auto;
  background-color: #e6ebf8 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 12px !important;
  border: 0px solid #e0e1e6;
  font-weight: 500 !important;
  border-radius: 5px !important;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  font-family: inherit;
}

#carer-earnings-calculate-form #edit-job-type .form-type-radio label.active {
  background-color: #34675f !important;
  border: 1px solid #34675f !important;
  color: #fff !important;
  font-family: inherit;
}

#edit-job-type .form-type-radio input.form-radio {
  display: none;
}

/* Wrapper spacing */
.custom-field-wrapper {
  margin-bottom: 10px;
}

/* Label styling */
.custom-field-wrapper label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

/* Textbox styling */
.custom-textbox {
  width: 100%;
  height: 48px;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background-color: #f9f9f9;
  font-size: 16px;
  transition: all 0.2s ease;
}

/* Focus effect */
.custom-textbox:focus {
  outline: none;
  border-color: var(--curam-green);
  background-color: #fff;
  box-shadow: 0 0 0 2px rgba(0, 116, 189, 0.15);
}

.text-center {
  text-align: center;
}
.earnings-wrapper {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}
.earnings-left {

  flex: 1.1;
}
.earnings-left h2 {
  margin-bottom: 25px;
}
#carer-earnings-calculate-form {
  background: #f7f7f7;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #ebebeb;
}

/* Title inside form */
#carer-earnings-calculate-form .earn-title h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

#carer-earnings-calculate-form .earn-title p {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 25px;
}

.postcoder-complete {
  position: relative;
}

.postcoder-complete input.form-control {
  height: 54px;
  padding: 12px 16px 12px 45px;
  border-radius: 12px !important;
  border: 1px solid #d9d9d9;
  background: #f9fafb;
  font-size: 15px;
}
.carer-page input.form-control
{
  border-radius: 12px !important;
  width: 100%;
}

.postcoder-complete img {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
}

#edit-job-type {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
}

#edit-job-type .form-type-radio {
  margin: 0;
}

#edit-job-type input.form-radio {
  display: none;
}

#edit-job-type label {
  font-size: 14px;
  white-space: nowrap;
  color: #676779;
  background: #eef1f7;
  padding: 14px 18px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  transition: 0.2s ease;
}

#edit-job-type label:hover {
  background: #e3e7ef;
}
#edit-job-type label.active {
  background: #44b299;
  border: 1px solid #44b299;
  color: #fff;
}

.custom-field-wrapper {
  margin-top: 15px;
}

.custom-field-wrapper label {
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  color: #333;
}

.custom-textbox {
  width: 100%;
  height: 48px;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #f9fafb;
  font-size: 15px;
  transition: 0.2s ease;
}

.custom-textbox:focus {
  outline: none;
  border-color: #44b299;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(68, 178, 153, 0.15);
}

#carer-earnings-calculate-form .form-action {
  text-align: center;
  margin-top: 25px;
}

#carer-earnings-calculate-form button.form-submit {
  background: #34675f;
  color: #fff;
  border: none;
  padding: 16px 40px;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s ease;
}

#carer-earnings-calculate-form button.form-submit:hover {
  background: #2e5750;
}
#carer-earnings-calculate-form button.form-submit:focus
{
box-shadow: none;
outline: none;
}
#carer-earnings-calculate-form .result_message {
  padding: 20px;
  background: #effffb;
  border-radius: 12px;
  margin-top: 30px;
  font-size: 14px;
  text-align: center;
  color: #424242;
  border: 2px solid #44b399;
  line-height: 1.4;
}

.highlight-green {
  color: #34675f;
  font-weight: 700;
}
.app-promo .app-image {
  width: 50%;
  text-align: right;
}
.app-promo .app-image img {
  max-width: 387px;
  margin-bottom: -4px;
}
.app-promo .app-text p {
  font-weight: 400;
  padding-bottom: 10px;
}
.app-promo .app-text {
  width: 60%;
}

/* 
   RIGHT : BENEFITS
*/

.benefits-right {
  flex: 1.2;
}

.benefits-right h2 {
  margin-bottom: 40px;
}

/* Benefits list */

.benefits-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.benefits-list li {
  display: flex;
  gap: 18px;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.6;
  color: #4b5563;
  align-items: center;
}

/* Icon */

.benefit-icon {
  width: 36px;
  height: 36px;
  background: #e5ecfc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon img {
  width: 18px;
  height: 18px;
}

/* Tags */

.benefit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.benefit-tags span {
  background: #eef2f6;
  padding: 10px 15px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: #374151;
}

/* 
   RESPONSIVE
   */


/*css start */

.carer-page .mega-menu {
  background: #35675f;
}

.carer-page .search-box {
  display: none;
}
.earnings-left label.control-label {
  color: #3b465c;
  font-size: 16px;
  padding-bottom: 5px;
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}
.earnings-left .filter-input.fieldgroup {
  margin: 20px 0 0 0;
}
.earnings-left .filter-input.fieldgroup .fieldset-legend {
  display: block;
  padding-bottom: 5px;
  color: #3b465c;
  font-size: 16px;
  margin-bottom: 8px;
}
.carer-page .menu.mega-menu .dropdown:hover,
.carer-page .single-menu:hover {
  background-color: #2e5750;
}
.carer-page .desk-menu-btn {
  display: none;
}
.carer-page .line-btn {
  background-color: transparent;
  border: 1px solid #34675f;
  color: #34675f;
}
.carer-page .line-btn:hover {
  background-color: #34675f;
  color: #fff;
}
.message-box.custom-Error.message ul li
{
    color: #db0606;

}
.message-box.custom-Error.message ul
{
  padding-left: 15px;
  margin-bottom: 0;
}
.earnings-left .error
{
  color: #db0606;
  font-weight: 400;
}
.carer-page .swal-button
{
    background-color: #34675f !important;
    color: white;
}
.carer-page .swal-button:focus
{
  outline: none;
  box-shadow: none;
}


@media (max-width: 1024px) {
  .earnings-wrapper {
    gap: 50px;
  }
}

@media (min-width: 992px) and (max-width: 1200px) 
{
.carers-banner
{
background-position: right;
background-size: cover;
}
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
        .onboarding-left .steps
    {
      flex-direction: row;
    }
        .eligibility-card {
        width: 100%;
        max-width: initial !important;
    }
       .carers-banner
    {
      align-items: flex-start;
    }
}
@media (min-width: 768px) and (max-width: 991px) 
{
      .carer-page .header-top {
        display: none;
    }
  .app-wrapper
  {
flex-direction: row;
gap: 50px;
  }
  .eligibility-list
  {
display: flex;
flex-wrap: wrap;
  }
  .eligibility-list li
  {
    width: 50%;
  }
  .carer-home .section , .why-different {
    padding: 50px 0;
}
    .onboarding-wrapper {
        gap: 30px;
    }
.carers-banner
{
background-position: right;
background-size: cover;
}
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .onboarding-left .steps
    {
      flex-direction: row;
    }
        .eligibility-card {
        width: 100%;
        max-width: initial !important;
    }
    .earnings-left
    {
          width: 100%;
    }
    .carers-banner
    {
      align-items: flex-start;
    }
        .postcoder-complete input.form-control {
        max-width: 100% !important;
        width: 100% !important;
    }
}
@media (max-width: 767px) {
  .carers-banner {
    justify-content: center;
    background-position: right;
    background-size: cover;
  }
  .app-promo .app-image img {
    max-width: 100%;
  }
  .app-promo .app-image {
    width: 100%;
  }
  .app-promo .app-text {
    width: 100%;
  }
  .carers-banner .hero-content {
    background: rgb(0 0 0 / 25%);
    padding: 15px;
    border-radius: 6px;
    color: #fff;
  }
  .carers-banner .hero-content .brand {
    color: #fff;
  }
  .postcoder-complete input.form-control {
  width: 100%;
  }
  .carer-home .section,
  .why-different {
    padding: 40px 0;
  }
  .earnings-benefits {
    padding: 70px 0;
  }
  .feature-bottom {
    padding: 25px 20px 25px;
  }
  .onboarding-wrapper {
    gap: 20px;
  }

  .earnings-wrapper {
    flex-direction: column;
    gap: 50px;
  }

  #carer-earnings-calculate-form {
    padding: 15px;
  }
  .earnings-left label.control-label {
    line-height: 1.25;
    font-size: 15px;
  }

  #edit-job-type {
    gap: 1px;
  }

  #edit-job-type label {
    padding: 12px 14px;
    font-size: 13px;
  }

  .benefits-right h2 {
    margin-bottom: 25px;
  }

  .benefits-list li {
    font-size: 15px;
  }
  .feature-top {
    padding: 10px 15px;
  }
  .app-wrapper {
    gap: 30px;
    flex-direction: column;
  }
  .app-buttons
  {
    margin-top: 10px;
  }
  .app-promo {
    padding-bottom: 40px !important;
  }
  .carer-page .header-top {
    display: none;
  }
  .app-promo .app-image img {
    width: auto;
    max-width: 350px;
  }
  .app-promo .app-image {
    text-align: center;
  }
  .benefit-tags span {
    padding: 10px 16px;
    font-size: 13px;
  }

  #carer-earnings-calculate-form button.form-submit {
    width: 100%;
  }
  .earnings-left label.control-label
  {
    display: block;
  }
  #carer-earnings-calculate-form .custom-field-wrapper label
  {
    margin-bottom: 0;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .eligibility-card {
    width: 100%;
    max-width: initial !important;
  }
  .postcoder-complete input.form-control {
    max-width: 100% !important;
    width: 100% !important;
  }
  .onboarding-left .steps {
    flex-direction: row;
  }
  .app-promo .app-image img {
     width: auto;
     max-width: 300px;
    }
    .app-wrapper
    {
      flex-direction: row;
    }
}
@media (max-width: 567px) {
  .app-promo .app-image img {
    width: auto;
    max-width: 300px;
  }
  /* .carer-page input.form-control
  {
    max-width: 296px !important;
  } */

}

@media (min-width: 1200px) {
  .container {
    width: 1200px;
    max-width: 100%;
    margin: auto;
  }
}

.form-item-error {
  color: #d92d20;
  font-size: 13px;
  margin: 5px 0;
}

#edit-calculate-earnings {
  width: 260px;
  display: inline-block;
  text-align: center;
}
#edit-calculate-earnings:disabled {
  opacity: 1;                 
  background-color: #2f5d50; 
  color: #fff;
  cursor: not-allowed;
}
/* ERROR BORDER STYLE */
.custom-textbox.has-error,
#edit-custom-postcode.has-error {
  border: 1px solid #E90510 !important;
}

.custom-textbox.has-error:hover,
.custom-textbox.has-error:focus,
#edit-custom-postcode.has-error:hover,
#edit-custom-postcode.has-error:focus {
  border: 1px solid #FC7A81 !important;
  box-shadow: 0px 1px 2px #fec8cb !important;
}

.postcode-wrapper {
  position: relative;
}

.postocode-results {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  z-index: 9999;
  max-height: 220px;
  overflow-y: auto;
  list-style: none;
  padding: 0;
  margin: 2px 0 0 0;
  display: none;
}

.postocode-results li {
  padding: 8px;
  cursor: pointer;
}

.postocode-results li:hover {
  background: #f2f2f2;
}

.carer_earning_calculator #edit-job-type .form-type-radio
{
margin: 0;
    flex: initial;
    width: auto;
}
.carer_earning_calculator #carer-earnings-calculate-form .form-action {
    padding: 10px 0 10px 0;
}
.carer_earning_calculator #carer-earnings-calculate-form button.form-submit
{
      padding: 5px 40px;
}
.carer_earning_calculator #carer-earnings-calculate-form  #edit-job-type--wrapper legend
{
  margin-bottom: 8px;
}
.carer_earning_calculator #carer-earnings-calculate-form .result_message .rate-info 
{
margin: 0 !important;
}