


/* ========== ESCRIPT REQUEST FORM STYLING ========== */

/* Form Wrapper */
.escript-form-wrapper {
    max-width: 100%;
    margin: 0 auto;
    background: #ffffff;
    padding: 0;
}

/* Form Sections */
.escript-form-section {
    margin-bottom: 40px;
}

/* Section Headers */
.escript-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.escript-section-title {
    color: #1B7895;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.escript-section-title.escript-title-required {
    margin-bottom: 15px;
}

.escript-required {
    color: #1B7895;
    font-size: 13px;
}

/* Section Description */
.escript-section-description {
    /* color: #6E757B; */
    /* font-size: 14px; */
    /* line-height: 1.6; */
    /* margin: 0 0 20px 0; */
}

.escript-note {
    color: #6E757B;
    font-style: normal;
}

/* Question Label */
.escript-question {
    display: block;
    color: #1B7895;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 0;
    line-height: 1.5;
    margin-bottom: 23px;
    margin-top: 20px;
}

/* Form Rows */
.escript-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

/* Form Fields */
.escript-form-field {
    flex: 1;
}

.escript-form-field.escript-half {
    flex: 1;
}

.escript-form-field.escript-full {
    flex: 1 1 100%;
}

/* Input Fields */
.escript-input,
.escript-textarea {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid #E5E5E5;
    background: #F6F5F2;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.escript-input:focus,
.escript-textarea:focus {
    outline: none;
    border-color: #1B7895;
    background: #fff;
}

.escript-input::placeholder,
.escript-textarea::placeholder {
    color: #999;
}

/* Textarea */
.escript-textarea {
    min-height: 100px;
    height: 100px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
}

/* Checkbox Styling */
.escript-checkbox-label {
    display: block;
    cursor: pointer;
}

.escript-checkbox-label .wpcf7-list-item {
    margin: 0 !important;
    display: block !important;
}

.escript-checkbox-label .wpcf7-list-item label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px;
    cursor: pointer;
    margin: 0 !important;
    padding: 0 !important;
}

.escript-checkbox-label input[type="checkbox"] {
    /* width: 20px; */
    /* height: 20px; */
    /* min-width: 20px; */
    /* min-height: 20px; */
    /* cursor: pointer; */
    /* accent-color: #1B7895; */
    /* margin: 0 !important; */
    /* margin-top: 2px !important; */
    /* padding: 0 !important; */
    /* flex-shrink: 0; */
}

.escript-checkbox-label .wpcf7-list-item-label {
    font-size: 15px;
    color: #666;
    line-height: 24px;
    margin: 0 !important;
    padding: 0 !important;
    /* padding-left: 30px; */
}
.e-prescriptions-form-section h2 {
    max-width: 389px;
}

.e-prescriptions-form-box h2 {
    margin-left: auto;
    margin-right: auto;
}

h2.escript-section-title {
    margin-left: 0;
}
 
/* Submit Row */
.escript-submit-row {
    display: flex;
    justify-content: flex-start;
    margin-top: 40px;
    margin-bottom: 0;
}

/* Submit Button */
.escript-submit-btn {
    background: #56C2C2;
    color: white;
    border: none;
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.escript-submit-btn:hover {
    background: #155f7a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(27, 120, 149, 0.3);
}

/* Remove CF7 default styling */
.escript-form-wrapper .wpcf7-form p {
    margin: 0;
}

.escript-form-wrapper .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Validation Messages */
.escript-form-wrapper .wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.escript-form-wrapper .wpcf7-response-output {
    margin: 20px 0;
    padding: 15px;
    border-radius: 4px;
}

.escript-form-wrapper .wpcf7-validation-errors {
    border: 2px solid #dc3232;
    background: #fef7f7;
    color: #dc3232;
}

.escript-form-wrapper .wpcf7-mail-sent-ok {
    border: 2px solid #1B7895;
    background: #f0f7f9;
    color: #1B7895;
}

/* Override all CF7 inputs to ensure background color */
.escript-form-wrapper input[type="text"],
.escript-form-wrapper input[type="email"],
.escript-form-wrapper input[type="tel"],
.escript-form-wrapper textarea {
    background: #F6F5F2 !important;
}

@media screen and (min-width: 1025px) {
p.escript-section-description {
/*
    margin-top: -20px;
    padding-bottom: 20px;
*/
}
}




/* ========== RESPONSIVE DESIGN ========== */

@media (max-width: 768px) {
    .escript-form-wrapper {
        padding: 0 15px;
    }

    .escript-form-row {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 15px;
    }

    .escript-form-field.escript-half {
        flex: 1 1 100%;
    }

    .escript-input,
    .escript-textarea {
        padding: 12px 15px;
    }

    .escript-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .escript-section-title {
        font-size: 18px;
    }

    .escript-submit-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .escript-form-wrapper {
        padding: 0 10px;
    }

    .escript-input,
    .escript-textarea {
        font-size: 13px;
    }

    .escript-section-description,
    .escript-question,
    .escript-checkbox-label .wpcf7-list-item-label {
        font-size: 13px;
    }

    .escript-submit-btn {
        padding: 12px 30px;
        font-size: 15px;
    }
}

/* ========== END ESCRIPT REQUEST FORM STYLING ========== */















/*-----------------------------------------------------------------*/
/* e-Prescriptions Page Styles
/*-----------------------------------------------------------------*/

:root {
    --e-prescriptions-color-primary: #1B7895;
    --e-prescriptions-color-secondary: #56C2C2;
    --e-prescriptions-color-accent: #FABAAB;
    --e-prescriptions-color-text: #6E757B;
    --e-prescriptions-color-bg-light: #F3F1ED;
}

/* Body Styles */
.e-prescriptions-body {
    font-family: "Nunito Sans", sans-serif;
    font-size: 16px;
    line-height: 28px;
    color: var(--e-prescriptions-color-text);
    font-weight: 300;
}

.e-prescriptions-body h1, 
.e-prescriptions-body h2, 
.e-prescriptions-body h3, 
.e-prescriptions-body h4 {
    color: var(--e-prescriptions-color-primary);
    font-weight: 800;
}

.e-prescriptions-body h2 {
    /* font-size: 19px; */
    /* line-height: 48px; */
    /* margin-bottom: 20px; */
}

@media screen and (min-width: 1025px) {
     .col-lg-10 {
        flex: 0 0 auto;
        width: 72%;
    } 
}


.e-prescriptions-body h3 {
/*
    font-size: 22px;
    line-height: 28px;
    margin-top: 10px;
*/
}
/* Button Styles */
.e-prescriptions-btn-custom-primary {
    background: var(--e-prescriptions-color-secondary);
    color: white;
    border-radius: 4px;
    padding: 18px 40px;
    font-size: 15px;
    font-weight: bold;
    border: none;
    font-family: "proxima-nova", sans-serif;
}

.e-prescriptions-btn-custom-primary:hover {
    background: #37adad;
    color: white;
}

.e-prescriptions-btn-custom-secondary {
    background: var(--e-prescriptions-color-accent);
    color: white;
    border-radius: 4px;
    padding: 18px 40px;
    font-size: 15px;
    font-weight: bold;
    border: none;
    font-family: "proxima-nova", sans-serif;
}

.e-prescriptions-btn-custom-secondary:hover {
    background: #e89d8a;
    color: white;
}

/*-----------------------------------------------------------------*/
/* Hero Banner
/*-----------------------------------------------------------------*/
.e-prescriptions-hero-banner {
    background-size: cover;
    background-position: center;
    min-height: 500px;
}

.e-prescriptions-hero-banner h1 {
    color: white;
    font-size: 46px;
    line-height: 52px;
}

/*-----------------------------------------------------------------*/
/* Repeat Script Section
/*-----------------------------------------------------------------*/
.e-prescriptions-repeat-script-section {
    background: #1B7895;
    padding: 80px 0;
}

.repeat-script-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.repeat-script-text {
    margin-left: 128px;
    flex: 1;
}

.repeat-script-text p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 420px;
}

.repeat-script-action {
    flex-shrink: 0;
}

.repeat-script-btn {
    display: inline-block;
    background: #56C2C2;
    color: #ffffff;
    padding: 14px 36px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
    font-family: "proxima-nova", sans-serif;
}

.repeat-script-heading h2 {
    margin-left: 34px;
    color: #fff;
    font-size: 38px;
    line-height: 44px;
}

.repeat-script-btn:hover {
    background: #66c8c1;
    color: #0B2E4A;
}

/*-----------------------------------------------------------------*/
/* Getting Started Steps Section (4 Steps)
/*-----------------------------------------------------------------*/

/* Step connecting lines for 4 steps - Desktop */
@media (min-width: 992px) {
   .step-box:before {
    content: "";
    width: 98px;
    height: 58px;
    background-image: url('../images/step-line.png');
    position: absolute;
    top: 27px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    right: -50px;
    margin: auto;
}
    
    .step-col:last-child .step-box:before {
        display: none;
    }
}

/* Tablet: 2 columns per row */
@media (min-width: 768px) and (max-width: 991px) {
    .step-col {
        width: 50%;
        float: left;
        margin-bottom: 40px;
    }
    
    .step-box:before {
        content: "";
        width: 100px;
        height: 53px;
        background-image: url('../images/step-line.png');
        position: absolute;
        top: 27px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        right: -60px;
        margin: auto;
    }
    
    /* Hide lines on even columns (2nd and 4th items) */
    .step-col:nth-child(even) .step-box:before {
        display: none;
    }
}

/* Mobile: 1 column, no connecting lines */
@media (max-width: 767px) {
    .step-box:before {
        display: none;
    }
    
    .step-col {
        margin-bottom: 40px;
    }
    
    .step-col:last-child {
        margin-bottom: 0;
    }
}

/*-----------------------------------------------------------------*/
/* Form Section
/*-----------------------------------------------------------------*/
.e-prescriptions-form-section {
    padding: 80px 0;
    background: var(--e-prescriptions-color-bg-light);
}

.e-prescriptions-info-box h4 {
    color: var(--e-prescriptions-color-primary);
    margin-bottom: 15px;
    font-size: 18px;
}

.e-prescriptions-info-box li {
    position: relative;
    padding-left: 25px;
    color: var(--e-prescriptions-color-text);
}

.e-prescriptions-info-box li:before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: var(--e-prescriptions-color-accent);
    font-size: 20px;
    line-height: 1;
}

.e-prescriptions-form-box {
    background: white;
    padding: 90px;
    border-radius: 8px;
    box-shadow: 0 3px 60px rgba(0, 0, 0, 0.05);
    margin-top: 80px;
}

.e-prescriptions-form-section-title {
    color: var(--e-prescriptions-color-primary);
    font-size: 18px;
    font-weight: 800;
    margin: 30px 0 20px;
}

.e-prescriptions-form-section .form-control,
.e-prescriptions-form-section .form-select {
    padding: 14px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: "Nunito Sans", sans-serif;
    font-size: 15px;
    background: #F9F8F6;
}

.e-prescriptions-form-section .form-control::placeholder {
    color: #999;
}

.e-prescriptions-form-section textarea.form-control {
    min-height: 100px;
}

.e-prescriptions-form-section .form-label {
    color: var(--e-prescriptions-color-primary);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
}

.e-prescriptions-form-section .form-check-label {
    font-weight: 300;
    color: var(--e-prescriptions-color-text);
    font-size: 14px;
}

.e-prescriptions-form-section .form-check-input {
    min-width: 18px;
    margin-top: 5px;
}

/*-----------------------------------------------------------------*/
/* Review CTA Section
/*-----------------------------------------------------------------*/
.e-prescriptions-review-cta {
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    padding: 80px 60px;
}

.e-prescriptions-review-cta h2,
.e-prescriptions-review-cta p {
    color: white;
}

.e-prescriptions-review-cta h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.e-prescriptions-review-cta p {
    max-width: 400px;
}

/*-----------------------------------------------------------------*/
/* Responsive Styles - Tablet (768px - 991px)
/*-----------------------------------------------------------------*/
@media (max-width: 992px) {
    .e-prescriptions-hero-banner h1 {
        font-size: 40px;
        line-height: 48px;
    }

    .repeat-script-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .repeat-script-heading h2 {
        font-size: 34px;
        line-height: 42px;
        margin-left: 0;
    }

    .repeat-script-text {
        margin-left: 0;
    }

    .repeat-script-text p {
        max-width: 100%;
    }

    .repeat-script-btn {
        width: 100%;
        text-align: center;
    }

    .e-prescriptions-body h2 {
        font-size: 32px;
        line-height: 42px;
    }

    .e-prescriptions-form-box {
        padding: 40px;
    }

    .e-prescriptions-review-cta {
        padding: 60px 40px;
    }

    .e-prescriptions-review-cta h2 {
        font-size: 34px;
    }
}

/*-----------------------------------------------------------------*/
/* Responsive Styles - Mobile (< 768px)
/*-----------------------------------------------------------------*/
@media (max-width: 767px) {
    .e-prescriptions-hero-banner {
        min-height: 400px;
    }

    .e-prescriptions-hero-banner h1 {
        font-size: 32px;
        line-height: 40px;
    }

    .e-prescriptions-repeat-script-section {
        padding: 60px 0;
    }

    .repeat-script-heading h2 {
        font-size: 30px;
        line-height: 38px;
    }

    .repeat-script-text p {
        font-size: 15px;
        line-height: 26px;
    }

    .e-prescriptions-form-section {
        padding: 60px 0;
    }

    .e-prescriptions-body h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .e-prescriptions-form-box {
        padding: 30px 20px;
    }

    .e-prescriptions-review-cta {
        padding: 50px 30px;
    }

    .e-prescriptions-review-cta h2 {
        font-size: 30px;
        line-height: 38px;
    }

    .e-prescriptions-review-cta .d-flex {
        gap: 30px !important;
    }

    .e-prescriptions-review-cta .btn {
        width: 100%;
    }
}

/*-----------------------------------------------------------------*/
/* Responsive Styles - Small Mobile (< 576px)
/*-----------------------------------------------------------------*/
@media (max-width: 575px) {
    .e-prescriptions-hero-banner {
        min-height: 350px;
    }

    .e-prescriptions-hero-banner h1 {
        font-size: 28px;
        line-height: 36px;
    }

    .repeat-script-heading h2 {
        font-size: 26px;
        line-height: 34px;
    }

    .e-prescriptions-body h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .e-prescriptions-form-box {
        padding: 25px 15px;
    }

    .e-prescriptions-review-cta {
        padding: 40px 20px;
    }

    .e-prescriptions-review-cta h2 {
        font-size: 26px;
        line-height: 34px;
    }

    .e-prescriptions-btn-custom-primary,
    .e-prescriptions-btn-custom-secondary {
        padding: 15px 30px;
        font-size: 14px;
    }
}

/*-----------------------------------------------------------------*/
/* Additional Fixes
/*-----------------------------------------------------------------*/
/* Ensure smooth transitions */
.repeat-script-btn,
.e-prescriptions-btn-custom-primary,
.e-prescriptions-btn-custom-secondary {
    transition: all 0.3s ease;
}

/* Form spacing fixes */
.e-prescriptions-form-section .mb-3 {
    margin-bottom: 1.5rem;
}

.e-prescriptions-form-section .row.g-3 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

/*-----------------------------------------------------------------*/
/* Desktop Step Section Styling
/*-----------------------------------------------------------------*/
@media (min-width: 1200px) {
    .sec-space.step-sec .container .row {
        padding: 0;
    }
}

/*-----------------------------------------------------------------*/
/* FAQ Section Styles
/*-----------------------------------------------------------------*/

/* Custom accordion styling */
.custom-accordion .accordion-item {
  margin-bottom: 12px;
  border: none;
  border-radius: 8px !important;
  overflow: hidden;
  background: #fcfaf9;
}

.custom-accordion .accordion-button {
  line-height: 28px;
  font-weight: 600;
  color: #1B7895;
  background-color: #D6CFC22E;
  border: none !important;
  box-shadow: none;
  padding: 16px 35px;
  border-radius: 8px !important;
  font-size: 19px;
  min-height: 80px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.custom-accordion .accordion-button:focus {
  box-shadow: none;
}

.custom-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300b7bd'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(-90deg);
  display: none;
}

.custom-accordion .accordion-button.collapsed::after {
  transform: rotate(0deg);
}

.custom-accordion .accordion-body {
  /* font-size: 15px; */
  color: #333;
  background: transparent;
  border-top: 0;
  padding: 15px 20px;
}

.accordion-collaps {
    border: 0 !important;
    box-shadow: none !important;
}

.head-row {
    margin-bottom: 40px;
}

.faq-sec {
    background: #fbfaf9;
    padding-top: 300px;
    margin-top: -190px;
    position: relative;
}

.accordion-button  .right-icon {
    transform: rotate(90deg);
    margin-left: 30px;
}
 
button.accordion-button:not(.collapsed) .right-icon{
     transform: rotate(-90deg);
     background: #FABAAB;
}

.faq-sec-main{
   background: #fbfaf9;
   padding-bottom: 300px;
   margin-bottom: -300px;
}

.faq-wrap{ 
margin-top: -187px; 
background: #FBFAF9; 
padding-top: 297px;
}

.accordion-style-2 .accordion-item {
    background: #F3F1ED;
}

.accordion-style-2 .accordion-body {
   background: #F3F1ED;
   padding: 0px 34px 28px;
   color: #6E757B;
}
  
.accordion-style-2   .accordion-button {
      background: #F3F1ED;
}

/*-----------------------------------------------------------------*/
/* Mobile Step Icon Styling
/*-----------------------------------------------------------------*/
@media (max-width: 767px) {
    .step-icon img {
        width: 49px;
        margin-top: -59px;
    }
    
    /* Mobile accordion button sizing */
    .custom-accordion .accordion-button {
        min-height: 60px;
        height: 60px;
        padding: 12px 20px;
        font-size: 16px;
        line-height: 1.3;
    }
    
    .accordion-style-2 .accordion-button {
        min-height: 60px;
        height: 60px;
        padding: 12px 20px;
        font-size: 16px;
        line-height: 1.3;
    }
}