/* Hide any remaining editor elements */
#postdivrich,
#wp-content-wrap,
.wp-editor-container,
#wp-content-editor-tools {
    display: none !important;
}

.copay-header__container {
    max-width: 842px;
    justify-self: center;
    margin: 0 24px;
}

label:has(input.consent) {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    top: 10px;
    margin-bottom: 12px;
    gap: 12px;
}

label:has(input.consent) span {
    max-width: 346px;
    color: var(--global--color-shadow-blue);
    font-family: var(--font-acumin);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 16.8px;
}

.pharmacy-title {
    color: var(--Brand-Shadow-Blue, #0F1B23);
    font-family: var(--font-mont);
    font-size: 24px !important;
    font-style: normal;
    font-weight: 500 !important;
    line-height: 31.2px !important;
    margin-bottom: 20px;
}

.copay-review {
    color: var(--global--color-shadow-blue);
    font-family: var(--font-acumin);
    font-size: 20px !important;
    font-style: normal;
    font-weight: 700 !important;
    line-height: 28px !important;
    margin-top: 24px;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: wait; /* Shows loading cursor */
    pointer-events: auto; /* Explicitly captures all pointer events */
}

.half-circle-spinner[data-v-31ad46aa],
.half-circle-spinner *[data-v-31ad46aa] {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

.half-circle-spinner[data-v-31ad46aa] {
    width: 60px;
    height: 60px;
    border-radius: 100%;
    position: relative
}

.half-circle-spinner .circle[data-v-31ad46aa] {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    border: 6px solid transparent
}

.half-circle-spinner .circle.circle-1[data-v-31ad46aa] {
    border-top-color: #ff1d5e;
    -webkit-animation: half-circle-spinner-animation-data-v-31ad46aa 1s infinite;
    animation: half-circle-spinner-animation-data-v-31ad46aa 1s infinite
}

.half-circle-spinner .circle.circle-2[data-v-31ad46aa] {
    border-bottom-color: #ff1d5e;
    -webkit-animation: half-circle-spinner-animation-data-v-31ad46aa 1s infinite alternate;
    animation: half-circle-spinner-animation-data-v-31ad46aa 1s infinite alternate
}

.half-circle-spinner .circle.circle-1 {
    border-top-color: #140fa5 !important;
    -webkit-animation: half-circle-spinner-animation 1s infinite;
    animation: half-circle-spinner-animation 1s infinite
}

.half-circle-spinner .circle.circle-2 {
    border-bottom-color: #0a8735 !important;
    -webkit-animation: half-circle-spinner-animation 1s infinite alternate;
    animation: half-circle-spinner-animation 1s infinite alternate
}

.docusign-frame {
    justify-self: center;
    height: 525px;
    max-width: 394px;
    width: 100%;
}

.copay-print__title {
    display: flex;
    color: var(--global--color-shadow-blue);
    font-family: var(--font-acumin);
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 25.2px;
    gap: 12px;

    figure {
        max-width: 24px;
        width: 100%;
    }
}

.copay-print__btn::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 18H4C3.46957 18 2.96086 17.7893 2.58579 17.4142C2.21071 17.0391 2 16.5304 2 16V11C2 10.4696 2.21071 9.96086 2.58579 9.58579C2.96086 9.21071 3.46957 9 4 9H20C20.5304 9 21.0391 9.21071 21.4142 9.58579C21.7893 9.96086 22 10.4696 22 11V16C22 16.5304 21.7893 17.0391 21.4142 17.4142C21.0391 17.7893 20.5304 18 20 18H18' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6 9V3C6 2.73478 6.10536 2.48043 6.29289 2.29289C6.48043 2.10536 6.73478 2 7 2H17C17.2652 2 17.5196 2.10536 17.7071 2.29289C17.8946 2.48043 18 2.73478 18 3V9' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M17 14H7C6.44772 14 6 14.4477 6 15V21C6 21.5523 6.44772 22 7 22H17C17.5523 22 18 21.5523 18 21V15C18 14.4477 17.5523 14 17 14Z' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    filter: none !important;
}

.copay-print__card {
    max-width: 458px;
    width: 100%;
}

.copay-print__wrapper {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding-bottom: 64px;
}

.copay-form-navigation {
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.copay-text-display-content {
    color: var(--global--color-shadow-blue);
    font-family: var(--font-acumin);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 25.2px;
}

@-webkit-keyframes half-circle-spinner-animation-data-v-31ad46aa {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }
    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn)
    }
}

@keyframes half-circle-spinner-animation-data-v-31ad46aa {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }
    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn)
    }
}

@media only screen and (min-width: 768px) {
    label:has(input.consent) span {
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 19.2px;
    }

    .pharmacy-title {
        font-size: 28px !important;
        font-style: normal;
        font-weight: 500;
        line-height: 36.4px !important;
        margin-bottom: 24px;
    }

    .copay-text-display-content {
        font-size: 20px;
        font-style: normal;
        font-weight: 400;
        line-height: 28px;
    }

    .copay-review {
        font-size: 24px !important;
        font-style: normal;
        font-weight: 700 !important;
        line-height: 33.6px !important;
    }

    .docusign-frame {
        height: 1158px;
        max-width: 868px;
    }

    .copay-print__title {
        font-size: 20px;
        line-height: 28px;
    }

    .copay-print__wrapper {
        padding-bottom: 120px;
    }

    .copay-form-navigation {
        gap: 40px;
    }
}

.upper-margin {
    margin-top: 24px;
}

.copay-field-wrapper:has(select.copay-bold) label,
.copay-field-wrapper:has(input.copay-bold) label {
    font-weight: 700 !important;
}

.copay-field-wrapper:has(select.field-label) label,
.copay-field-wrapper:has(input.field-label) label {
    font-size: 20px !important;
    font-style: normal;
    line-height: 28px !important;
}

.copay-bold {

}

#birthday_day {
    max-width: 83px;
}

#birthday_month {
    max-width: 104px;
}

#birthday_year {
    max-width: 87px;
}

.copay-state {
    max-width: 197px;
}

.copay-field-wrapper:has(input.copay-first),
.copay-first {
    order: 1;
}

.copay-field-wrapper:has(input.copay-second),
.copay-second {
    order: 2;
}

.copay-field-wrapper:has(input.copay-third),
.copay-third {
    order: 3;
}

.copay-field-wrapper:has(input.copay-fourth),
.copay-fourth {
    order: 4;
}

.copay-field-wrapper:has(input.copay-fifth),
.copay-fifth {
    order: 5;
}

.copay-field-wrapper:has(input.copay-sixth),
.copay-sixth {
    order: 6;
}

.copay-field-wrapper:has(input.copay-seventh),
.copay-seventh {
    order: 7;
}

.copay-field-wrapper:has(input.copay-eighth),
.copay-eighth {
    order: 8;
}

.copay-field-wrapper:has(input.copay-ninth),
.copay-ninth {
    order: 9;
}

.copay-field-wrapper:has(input.copay-tenth),
.copay-tenth {
    order: 10;
}

.copay-fieldset {
    border: 1px solid #ddd;
    margin: 10px 0;
    background: #f9f9f9;
}

.copay-fieldset-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.copay-fieldset-subtitle {
    margin-bottom: 32px;
    color: var(--global--color-shadow-blue);
    font-family: var(--font-acumin);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 16.8px;
}

.copay-field {
    border: 1px solid #ccc;
    margin: 10px 0;
    padding: 10px;
    background: #fff;
}

.copay-field-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.copay-field-config {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.copay-checkbox-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.remove-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
}

.field-title-container {
    margin-top: 15px;
    padding: 10px;
    background: #e8f4f8;
    border: 1px solid #bee5eb;
    border-radius: 4px;
}

.field-title-container label {
    font-weight: 600;
    color: #0c5460;
    margin-bottom: 5px;
    display: block;
}

.field-title-container select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #bee5eb;
    border-radius: 4px;
    background: #ffffff;
}

.field-birthday-container {
    margin-top: 15px;
    padding: 10px;
    background: #f0f8ff;
    border: 1px solid #b8daff;
    border-radius: 4px;
}

.field-birthday-container label {
    font-weight: 600;
    color: #0056b3;
    margin-bottom: 5px;
    display: block;
}

.birthday-year-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.birthday-year-range input {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid #b8daff;
    border-radius: 4px;
    background: #ffffff;
}

.birthday-year-range span {
    color: #0056b3;
    font-weight: 500;
}

.copay-form fieldset {
    /*border: 1px solid #ddd;*/
    margin: 20px 0;
    /*border-radius: 5px;*/
    background: #ffffff !important;
    color: #333333 !important;
}

.copay-field-wrapper {
    margin-bottom: 20px;
}

.copay-field-wrapper > label {
    display: block;
    margin-bottom: 12px;
}

.copay-field-wrapper input,
.copay-field-wrapper textarea,
.copay-field-wrapper select {
    width: 100%;
    padding: 8px;
}

.copay-form-submit {
    text-align: center;
    margin: 20px 0;
}

.copay-submit-btn {
    order: 2;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.copay-radio-group {
    display: flex;
    /*gap: 12px;*/
    margin-top: 5px;
}

.copay-radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal !important;
    color: #333333 !important;
    /*padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;*/
    background: #ffffff !important;
}

.copay-radio-option input[type="radio"] {
    /*width: auto !important;*/
    margin: 0;
}

.copay-radio-option span {
    user-select: none;
}

/* Checkbox styling */

.copay-checkbox-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal !important;
    color: #333333 !important;
    background: #ffffff !important;
}

.copay-checkbox-option input[type="checkbox"] {
    margin: 0;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--global--color-black);
    border-radius: 3px;
    background: #ffffff;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copay-checkbox-option input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 32%;
    left: 66%;
    transform: translate(-50%, -50%);
    color: black;
    font-size: 26px;
    font-weight: bold;
}

.copay-checkbox-option span {
    user-select: none;
}

/* Birthday field styling */
.copay-birthday-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.copay-birthday-group select {
    flex: 1;
    min-width: 80px;
    padding: 8px;
    /*color: #333333 !important;*/
}

.copay-birthday-group select:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 1px rgba(0, 115, 170, 0.2);
}

/* Title styling */
.copay-form h2,
.copay-form h3,
.copay-form h4,
.copay-form h5,
.copay-form h6 {
    color: var(--global--color-shadow-blue);
    font-family: var(--font-acumin);
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 25.2px;
    background: transparent;
}

@media only screen and (min-width: 768px) {
    .copay-form h2,
    .copay-form h3,
    .copay-form h4,
    .copay-form h5,
    .copay-form h6 {
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: 28px;
    }

    .copay-field-wrapper:has(select.field-label) label,
    .copay-field-wrapper:has(input.field-label) label {
        font-size: 24px !important;
        line-height: 33.6px !important;
    }
}

/* Multi-step form styling */
.copay-form fieldset {
    display: none;
}

.copay-form fieldset.active {
    display: block;
}

.copay-nav-btn {
    max-width: 137px;
    max-height: 56px;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.copay-next-btn {
    order: 3;
}

.copay-next-btn::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='24' viewBox='0 0 25 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.7929 4.29289C12.1834 3.90237 12.8166 3.90237 13.2071 4.29289L20.2071 11.2929C20.5976 11.6834 20.5976 12.3166 20.2071 12.7071L13.2071 19.7071C12.8166 20.0976 11.8166 20.0976 11.7929 19.7071C11.4024 19.3166 11.4024 18.6834 11.7929 18.2929L17.0858 13H5.5C4.94772 13 4.5 12.5523 4.5 12C4.5 11.4477 4.94772 11 5.5 11H17.0858L11.7929 5.70711C11.4024 5.31658 11.4024 4.68342 11.7929 4.29289Z' fill='white'/%3E%3C/svg%3E");
    object-fit: contain;
    position: relative;
    top: 1px;
}

.copay-prev-btn {
    order: 1;
    padding: 16px 32px 16px 24px;
}

.copay-prev-btn::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.7071 4.29289C13.0976 4.68342 13.0976 5.31658 12.7071 5.70711L6.41421 12L12.7071 18.2929C13.0976 18.6834 13.0976 19.3166 12.7071 19.7071C12.3166 20.0976 11.6834 20.0976 11.2929 19.7071L4.29289 12.7071C3.90237 12.3166 3.90237 11.6834 4.29289 11.2929L11.2929 4.29289C11.6834 3.90237 12.3166 3.90237 12.7071 4.29289Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 12C4 11.4477 4.44772 11 5 11H19C19.5523 11 20 11.4477 20 12C20 12.5523 19.5523 13 19 13H5C4.44772 13 4 12.5523 4 12Z' fill='white'/%3E%3C/svg%3E");
    position: relative;
    top: 1px;
}

.copay-prev-btn::after {
    content: none !important;
}

.copay-step-indicator {
    order: 2;
    font-weight: 600;
    color: #495057;
    font-size: 1rem;
    text-align: center;
    flex-grow: 1;
}

.copay-current-step {
    color: #007bff;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .copay-form-navigation {
        padding: 20px 15px;
        flex-direction: row;
        gap: 15px;
    }

    .copay-nav-btn {
        width: 100%;
        order: unset;
    }

    .copay-step-indicator {
        order: -1;
        width: 100%;
        margin-bottom: 10px;
    }

    .copay-birthday-group {
        flex-direction: row;
    }

    .copay-birthday-group select {
        min-width: auto;
    }
}

/*de aici incepe*/

.copay-form fieldset {
    margin: 64px 0 20px 0;
    background: #ffffff !important;
    color: #333333 !important;
}

.copay-form legend {

}

.copay-field-wrapper {
    margin-bottom: 20px;
}

.copay-field-wrapper > label {
    display: block;
    margin-bottom: 12px;
    /*font-weight: bold;
    color: #333333 !important;*/
}

.copay-field-wrapper input,
.copay-field-wrapper textarea,
.copay-field-wrapper select {
    width: 100%;
    padding: 8px;
}

.required {
    color: red !important;
    font-weight: 400 !important;
}

.copay-form-submit {
    text-align: center;
    margin: 20px 0;
}

.copay-submit-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.copay-radio-group {
    display: flex;
    /*gap: 12px;*/
    margin-top: 5px;
}

.copay-radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal !important;
    color: #333333 !important;
    /*padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;*/
    background: #ffffff !important;
}

.copay-radio-option input[type="radio"] {
    /*width: auto !important;*/
    margin: 0;
}

.copay-radio-option span {
    user-select: none;
}

/* Checkbox styling */
.copay-checkbox-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal !important;
    color: #333333 !important;
    background: #ffffff !important;
}

.copay-checkbox-option input[type="checkbox"] {
    margin: 0;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--global--color-black);
    border-radius: 3px;
    background: #ffffff;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copay-checkbox-option input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 32%;
    left: 66%;
    transform: translate(-50%, -50%);
    color: black;
    font-size: 26px;
    font-weight: bold;
}

.copay-checkbox-option span {
    user-select: none;
}

/* Birthday field styling */
.copay-birthday-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 5px;
    max-height: 48px;
    height: 100%;
}

.copay-birthday-group select {
    flex: 1;
    min-width: 80px;
    padding: 8px;
    /*color: #333333 !important;*/
}

.copay-birthday-group select:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 1px rgba(0, 115, 170, 0.2);
}

/* Multi-step form styling */
.copay-form fieldset {
    display: none;
}

.copay-form fieldset.active {
    display: flex;
    flex-direction: column;
}

.copay-nav-btn {
    max-width: 137px;
    max-height: 56px;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: var(--global--color-dark-green);
    color: white;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.copay-next-btn {
    order: 3;
}

.copay-next-btn::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='24' viewBox='0 0 25 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.7929 4.29289C12.1834 3.90237 12.8166 3.90237 13.2071 4.29289L20.2071 11.2929C20.5976 11.6834 20.5976 12.3166 20.2071 12.7071L13.2071 19.7071C12.8166 20.0976 11.8166 20.0976 11.7929 19.7071C11.4024 19.3166 11.4024 18.6834 11.7929 18.2929L17.0858 13H5.5C4.94772 13 4.5 12.5523 4.5 12C4.5 11.4477 4.94772 11 5.5 11H17.0858L11.7929 5.70711C11.4024 5.31658 11.4024 4.68342 11.7929 4.29289Z' fill='white'/%3E%3C/svg%3E");
    object-fit: contain;
    position: relative;
    top: 1px;
}

.copay-prev-btn {
    order: 1;
    padding: 16px 32px 16px 24px !important;
}

.copay-prev-btn::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.7071 4.29289C13.0976 4.68342 13.0976 5.31658 12.7071 5.70711L6.41421 12L12.7071 18.2929C13.0976 18.6834 13.0976 19.3166 12.7071 19.7071C12.3166 20.0976 11.6834 20.0976 11.2929 19.7071L4.29289 12.7071C3.90237 12.3166 3.90237 11.6834 4.29289 11.2929L11.2929 4.29289C11.6834 3.90237 12.3166 3.90237 12.7071 4.29289Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 12C4 11.4477 4.44772 11 5 11H19C19.5523 11 20 11.4477 20 12C20 12.5523 19.5523 13 19 13H5C4.44772 13 4 12.5523 4 12Z' fill='white'/%3E%3C/svg%3E");
    position: relative;
    top: 1px;
}

.copay-step-indicator {
    order: 2;
    font-weight: 600;
    color: #495057;
    font-size: 1rem;
    text-align: center;
    flex-grow: 1;
}

.copay-current-step {
    color: #007bff;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .copay-form-navigation {
        padding: 20px 15px;
        flex-direction: row;
        gap: 15px;
    }

    .copay-nav-btn {
        width: 100%;
        order: unset;
    }

    .copay-step-indicator {
        order: -1;
        width: 100%;
        margin-bottom: 10px;
    }

    .copay-birthday-group {
        flex-direction: row;
    }

    .copay-birthday-group select {
        min-width: auto;
    }
}