h5 {
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.5rem;
}

.preserve-lines {
    white-space: pre-wrap;
}

.fs-10 {
    font-size: 10px;
    line-height: 16px;
}

.fs-12 {
    font-size: 12px;
}

.fs-14 {
    font-size: 14px;
}

.fs-16 {
    font-size: 16px;
}

.fs-18 {
    font-size: 18px;
}

.fs-20 {
    font-size: 20px;
}

.fs-22 {
    font-size: 22px;
}

.fs-36 {
    font-size: 36px;
}

.fs-52 {
    font-size: 52px;
}

.pb-6 {
    padding-bottom: 5rem;
}

@media (min-width: 768px) {
    .fs-md-16 {
        font-size: 16px;
    }

    .fs-md-18 {
        font-size: 18px;
    }

    .fs-md-20 {
        font-size: 20px;
    }

    .fs-md-22 {
        font-size: 22px;
    }

    .fs-md-36 {
        font-size: 36px;
    }

    .fs-md-52 {
        font-size: 52px;
    }

    .fw-md-semibold {
        font-weight: 600 !important;
    }
}

.mb-32 {
    margin-bottom: 32px;
}

.leading-28 {
    line-height: 28px;
}

.form-control:focus {
    box-shadow: unset;
}

.top-section-content {
    gap: 20px;
}

.overview {
    padding-bottom: 32px;
}

section.overview-content {
    margin-bottom: unset;
}

section.overview-content.design-section-2 {
    margin-bottom: 32px;
}

section.overview-content.design-section-1 {
    padding-left: 0;
    padding-right: 0;
}

@media (min-width: 992px) {
    .overview {
        margin-top: 132px;
        padding-top: 0;
        padding-bottom: 72px;
        overflow: unset;
    }

    .top-section-content {
        gap: 40px;
    }
}

.overview-btn {
    padding: 16px 54px;
}

.overview-content__preview {
    padding: 32px 0;
}

.overview-content__preview::after {
    background-color: #D9EAD1;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    position: absolute;
    top: 0;
    right: 0;
    content: "";
}

.overview-content__description.right-center {
    padding-left: 0;
}

.overview-content__preview-content {
    padding: 12px 50px;
    background-color: unset;
    width: 100%;
    z-index: 1;
}

.overview-content__preview-content img {
    box-shadow: 0px 8px 16px 0.7947019934654236px #0000001A;
}

.owl-carousel .owl-stage-outer {
    box-shadow: 0px 4px 8px 0.3973509967327118px #0000001A;
    margin-bottom: 20px;
}

.overview-content__preview-design {
    margin-top: 0px;
    padding: 18px 30px;
    width: 100%;
}

.overview-content__preview-design img {
    box-shadow: 2px 6px 13px 0 #a3b5a16b;
    width: 60%;
}

.overview-content__preview-design .right-item {
    position: absolute;
    top: 15%;
    left: 40%;
}

.overview-content__preview-design .right-item img {
    width: 90%;
    height: auto;
}

.left-center {
    visibility: visible;
    opacity: 1;
}

.right-center {
    visibility: visible;
    opacity: 1;
}

.btn-start {
    height: 56px;
    padding: 0px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.left-mobile-center {
    visibility: hidden;
    opacity: 0;
}

.left-mobile-center.animate__animated {
    opacity: 1;
    visibility: visible;
}

.right-mobile-center {
    visibility: hidden;
    opacity: 0;
}

.right-mobile-center.animate__animated {
    opacity: 1;
    visibility: visible;
}

.overview-guide-section {
    background-color: #66BB45;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.overview-guide-section .overview-content {
    padding-top: 32px;
    padding-bottom: 32px;
    z-index: 1;
    top: 0
}

.overview-guide-section .overview-content li {
    list-style-type: disc
}

.overview-guide-step .steps .step-icon {
    position: relative;
}

.overview-guide-step .steps h3 {
    margin-bottom: 12px
}

.overview-guide-step .steps ul li:not(:last-child) {
    margin-bottom: 4px
}

.overview-guide-step .steps .step-icon img {
    width: 24px;
    height: auto;
}

.overview-guide-step .steps:nth-child(even) .step-icon::before {
    display: none;
}

.overview-guide-step .steps:nth-child(odd) .step-icon::before {
    display: none;
}

.overview-guide-step .steps:last-of-type .step-icon::before {
    background-image: none;
}

.circle-progress__wrapper {
    margin-top: 1rem
}

.owl-carousel {
    position: relative;
}

.owl-theme .owl-dots .owl-dot.active span {
    background: linear-gradient(180deg, #50B648 0%, #90C63F 59.9%, #B2EC0F 99.48%) !important;
    border: 1px solid #B7EC7F;
}

.owl-theme .owl-dots .owl-dot span {
    background: white;
    border: 1px solid #90C63F;
}

.owl-carousel .owl-dots {
    position: absolute;
    bottom: -8px; /* Adjust distance from bottom */
    left: 50%;
    transform: translateX(-50%); /* Center the dots */
    width: auto;
}

.progressbar-text {
    left: 52% !important;
    top: 48% !important;;
}

@media (min-width: 767px) {
    section.overview-content {
        margin-bottom: 144px;
    }

    section.overview-content.design-section-1 {
        padding-left: 40px;
        padding-right: 40px;
    }

    section.overview-content.design-section-2 {
        margin-bottom: 144px;
    }

    .circle-progress__wrapper {
        margin-top: 92px
    }

    .overview-content__description.right-center {
        padding-left: 113px;
    }

    .overview-content__description.left-center {
        padding-right: 113px;
    }

    .overview-content__preview {
        padding: 20px 0;
    }

    .overview-content__preview::after {
        width: 80%;
    }

    .overview-content__preview-content {
        padding: 48px 0 48px 0;
        background-color: white;
        border-radius: 20px;
        width: 80%;
        box-shadow: 15px 70px 100px 0 #0000000F;
        overflow: hidden;
    }

    .overview-content__preview-content img {
        margin: 0 10px;
    }

    .owl-carousel .owl-stage-outer {
        box-shadow: none;
        height: calc(100% + 40px);
        margin: -20px 0;
        padding: 20px;
        width: calc(100% + 113px);
    }

    .overview-content__preview-design {
        margin-top: -80px;
        padding: unset;
        width: unset;
    }

    .overview-content__preview-design img {
        width: auto;
    }

    .overview-content__preview-design .right-item {
        position: absolute;
        top: 80px;
        left: 80%;
    }

    .overview-content__preview-design .right-item img {
        width: auto;
    }

    .left-center {
        visibility: hidden;
        opacity: 0;
    }

    .left-center.animate__animated {
        opacity: 1;
        visibility: visible;
    }

    .right-center {
        visibility: hidden;
        opacity: 0;
    }

    .right-center.animate__animated {
        opacity: 1;
        visibility: visible;
    }

    .left-mobile-center {
        visibility: visible;
        opacity: 1;
        height: 483.5px;
    }

    .right-mobile-center {
        visibility: visible;
        opacity: 1;
        width: 303px;
    }

    .overview-guide-section .overview-content {
        padding-top: 92px;
        padding-bottom: 92px;
    }

    .overview-guide-section .overview-content h1 {
        margin-bottom: 80px
    }

    .overview-guide-section .overview-content .overview-guide-step {
        margin-bottom: 80px
    }

    .overview-guide-section .overview-content .overview-guide-step h3 {
        margin-bottom: 32px
    }

    .overview-guide-section .overview-content .overview-guide-step img {
        margin-bottom: 36px
    }

    .overview-guide-step .steps h3 {
        margin-bottom: 32px
    }

    .overview-guide-step .steps ul li:not(:last-child) {
        margin-bottom: 20px
    }

    .overview-guide-step .steps .step-icon img {
        width: auto;
        height: auto;
    }

    .overview-guide-step .steps:nth-child(even) .step-icon::before {
        display: block;
    }

    .overview-guide-step .steps:nth-child(odd) .step-icon::before {
        display: block;
    }

    .overview-guide-step .steps:nth-child(even) .step-icon::before {
        bottom: 5px;
        position: absolute;
        content: "";
        background-image: url(/assets/img/email-signature/overview/overview-arrow-bottom.svg);
        width: 222px;
        height: 48px;
        background-repeat: no-repeat;
        right: -135px;
    }

    .overview-guide-step .steps:nth-child(odd) .step-icon::before {
        top: -20px;
        position: absolute;
        content: "";
        background-image: url(/assets/img/email-signature/overview/overview-arrow-top.svg);
        width: 222px;
        height: 48px;
        background-repeat: no-repeat;
        right: -140px;
    }

    .overview-guide-step .steps:last-of-type .step-icon::before {
        background-image: none;
    }
}

.nav-tabs .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0 12px 0;
    font-weight: 600;
    font-size: 16px;
    color: black;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border: none;
}

.nav-tabs .nav-link.active {
    border: none;
}

.nav-tabs .nav-link:not(.active) {
    background-color: #F8F8F8;
}

.nav-tabs .nav-link img {
    width: 24px;
    height: auto;
    margin-bottom: 8px;
}

.is-locked {
    position: relative;
}

.is-locked::after {
    content: "";
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("/assets/img/email-signature/locked-icon.svg");
    position: absolute;
    right: 20px;
    top: 7px;
}

.white-locked::after {
    background-image: url("/assets/img/email-signature/white-locked-icon.svg");
}

.hide-lock-icon::after {
    display: none;
}

.bg-gray {
    background-color: #F8F8F8;
}

.text-gray-1 {
    color: #9AA0A9;
}

.text-gray-2 {
    color: #4B4B4B;
}

#emailSignatureTabContent {
    overflow-x: hidden;
    overflow-y: auto;
}

#emailSignatureTab {
    top: 0;
    z-index: 3;
    border-bottom: none;
}

.template-card {
    position: relative;
    max-width: 600px;
    height: max-content;
    border-radius: 6px;
    border: 1px solid #EFEDEA;
    box-shadow: 0px 1px 3px 0px #5E492F0D;
    margin-top: 12px;
    cursor: pointer;
}

.template-card::before {
    content: "";
    position: absolute;
    background: rgba(255, 255, 255, 0);
    z-index: 1;
    width: 100%;
    height: 100%;
    cursor: pointer;
    pointer-events: none;
}

.template-card.active::before {
    content: "";
    position: absolute;
    background: #4AA04180;
    z-index: 1;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.template-card.active::after {
    content: "";
    position: absolute;
    z-index: 2;
    width: 36px;
    height: 36px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("/assets/img/email-signature/check-circle-icon.svg");
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    pointer-events: none;
}

.template-card.is-locked::after {
    right: 7px;
    top: 7px;
}

.template-card-frame {
    min-height: 210px;
}

.email-signature-preview-side {
    background-color: #EFF3F6;
}

.email-signature-preview-side .btn-success {
    background: #66BB45;
}

.email-signature-preview-side .btn-success:disabled,
.email-signature-preview-side .btn-success[disabled] {
    background: rgba(224, 224, 224, 1);
    color: rgba(130, 130, 130, 1);
    border-color: rgba(224, 224, 224, 1);
    cursor: not-allowed;
}

.email-signature-preview-side .btn-success:disabled svg path,
.email-signature-preview-side .btn-success[disabled] svg path {
    stroke: rgba(130, 130, 130, 1);
}

.email-signature-preview-side .btn-outline-success {
    border-color: #66BB45;
    color: #66BB45;
    background-color: transparent;
}

.email-signature-preview-side .btn-outline-success svg path {
    stroke: #66BB45;
}

.email-signature-preview-side .btn-outline-success:disabled,
.email-signature-preview-side .btn-outline-success[disabled] {
    border: 1px solid rgba(224, 224, 224, 1);
    color: rgba(130, 130, 130, 1);
    cursor: not-allowed;
}

.email-signature-preview-side .btn-outline-success:disabled svg path,
.email-signature-preview-side .btn-outline-success[disabled] svg path {
    stroke: #828282;
}

.email-signature-header {
    padding: 30px 20px;
}

.email-signature-header .header-group-btn {
    gap: 20px;
}

.email-signature-header .header-btn {
    padding: 10px 18px;
    min-width: 120px;
    text-align: center;
}

@media (max-width: 767px) {
    .email-signature-header .header-text {
        font-size: inherit;
    }

    .email-signature-header .header-btn {
        padding: 5px 10px;
    }
}

.email-signature-preview-container {
    margin-top: 134px;
    max-width: 800px;
}

.email-signature-preview-window {
    max-width: 800px;
    box-shadow: 2px 6px 13px 0px #A3B5A11A;
}

.email-signature-preview-window .window-header {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 41px;
    padding-left: 16px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(0deg, #2D3643, #2D3643),
    linear-gradient(0deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1));
}

.email-signature-preview-window .window-header .window-action-button {
    width: 8px;
    height: 8px;
}

.email-signature-preview-window .window-content {
    height: fit-content;
    padding: 16px;
    border-radius: 0 0 8px 8px;
    background: white;
}

.primary-btn.is-locked::after {
    top: -6px;
    right: -6px;
}

.config-row_group-image {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.config-row_group-image_image {
    position: relative;
}

.config-row_group-image_image img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 0.25rem;
}

.config-row_group-image_image label {
    width: 60px;
    height: 60px;
    cursor: pointer;
    border: 1px dashed #1e74e8;
    border-radius: 0.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.config-row_group-image_image label > i {
    color: #1e74e8;
}

.config-row_action {
    height: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 4px;
}

.config-row_action-delete {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.config-row_action-delete > .bi-x::before {
    color: #ffffff;
    font-weight: 800 !important;
    line-height: unset;
}

.config-row_action-drag {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
    border: none;
    box-shadow: none !important;
    background: transparent !important;
    height: 25px;
    margin-top: 7px;
}

.bi-three-dots-vertical {
    height: inherit;
}

.bi-three-dots-vertical::before {
    width: 6px;
}

.border-dashed {
    border: 1px dashed #176BFB;
}

.social-media-add-btn i {
    font-size: 24px;
}

.color-input-placeholder {
    background: #7FCA27;
    border-radius: 50%;
    width: 30px;
    height: 30px;
}

.select2-container--default .select2-selection--single {
    border: none;
    border-bottom: 1px solid black;
    background: transparent;
    border-radius: 0;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border: 0;
    background-image: url("/assets/img/email-signature/chevron-down-icon.svg");
    background-color: transparent;
    background-size: contain;
    border: none !important;
    height: 20px !important;
    width: 20px !important;
    margin: auto !important;
    top: auto !important;
    left: auto !important;
}

.select2-dropdown {
    border: none;
    margin-top: 10px;
    border-radius: 4px !important;
    overflow: hidden;
}

.select2-results__option {
    margin: 8px 12px 8px 12px;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #F8F8F8;
    color: inherit;
    border-radius: 4px
}

.select2-container--default .select2-results__option--selected {
    background-color: #F8F8F8;
}

.select2-container--open .select2-dropdown--below {
    box-shadow: 0px 10px 32px -4px #18274B1A;
}

.user-template-select .select2-container--default .select2-selection--single {
    border-bottom: 1px solid #D9D9D9;
    padding-bottom: 35px;
}

.user-template-select .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0 0 10px 0;
}

.user-edit-template-input {
    display: none;
}

.user-edit-template-input input {
    border: 0;
    border-bottom: 1px solid #D9D9D9;
    border-radius: 0;
    padding: 0 0 10px 0;
}

.noUi-horizontal {
    height: 3px;
}

.noUi-target {
    border-radius: 0;
    border: 0;
    background: #E4E4E4;
}

.noUi-connect {
    background: black;
}

.noUi-connects {
    border-radius: 0;
}

.noUi-pips-horizontal {
    height: 60px;
    transform: translateY(-100%);
}

.noUi-marker {
    display: none;
}

.noUi-value-sub {
    font-size: 14px;
    color: black;
}

.noUi-value-large {
    font-size: 14px;
}

.noUi-horizontal .noUi-handle {
    width: 20px;
    height: 20px;
    right: -10px;
    border: 2px solid #000;
    border-radius: 50%;
    background-color: #000;
    box-shadow: none;
    top: -8px;
}

.noUi-handle::before {
    display: none;
}

.noUi-handle::after {
    display: none;
}

.expandable-radio .radio-description {
    display: none;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: white;
}

.expandable-radio .wordCount {
    display: none;
}

.expandable-radio input[type="radio"]:checked + .radio-label .radio-description {
    display: block;
}

.expandable-radio input[type="radio"]:checked + .radio-label .wordCount {
    display: block;
}

.form-check-input:checked[type=radio] {
    --bs-form-check-bg-image: none;
    background-color: #7FCA27;
    border: 1.5px solid white;
    box-shadow: 0 0 0 1px #ddd;
}

.form-check-input:focus {
    box-shadow: none;
    border-color: #afd386;
}

.auth-form-wrapper .form-group .form-control.is-invalid {
    border: var(--bs-border-width) solid var(--bs-danger);
    padding-right: calc(1.5em + 0.75rem);
}

@media (max-width: 1250px) {
    main {
        margin-top: 0;
    }
}
