.setup__list--wrapper {
    padding-top: 32px;
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 32px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    min-height: 80vh
}

.setup__list--wrapper .content {
    width: 100%
}

.setup__list--wrapper .content>.controls {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    margin-top: 32px
}

.setup__list--wrapper .content>.controls>.outline-btn {
    min-height: 48px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-width: 125px;
    margin-right: 20px;
    font-size: 16px
}

.setup__list--wrapper .content>.controls>.regular-btn {
    min-height: 48px;
    padding-left: 24px;
    padding-right: 24px;
    font-size: 16px
}

.setup__list--wrapper .content>.box {
    padding-top: 40px;
    padding-left: 32px;
    padding-bottom: 40px;
    padding-right: 32px;
    border-radius: 8px;
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB
}

.setup__list--wrapper .content>.box .double {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 24px;
    grid-row-gap: 24px
}

.setup__list--wrapper .content>.box>h6 {
    margin-top: 0px;
    margin-bottom: 10px;
    font-size: 28px;
    line-height: 125%;
    font-weight: 600;
    color: #111928
}

.setup__list--wrapper .content>.box>p {
    margin: 0px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #111928
}

.setup__list--wrapper>.side__setup {
    min-width: 320px;
    max-width: 320px;
    margin-right: 20px
}

.setup__list--wrapper>.side__setup .top ul {
    padding: 0px;
    list-style-type: none;
    margin: 0px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start
}

.setup__list--wrapper>.side__setup .top ul>li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 18px;
    line-height: 27px;
    color: #111928;
    margin-bottom: 8px;
    font-weight: 600;
    -webkit-transition: .3s ease all;
    transition: .3s ease all;
    width: 100%
}

.setup__list--wrapper>.side__setup .top ul>li.filled span svg path {
    fill: #7CAA6F
}

.setup__list--wrapper>.side__setup .top ul>li:last-child {
    margin-bottom: 0px
}

.setup__list--wrapper>.side__setup .top ul>li p {
    margin: 0px
}

.setup__list--wrapper>.side__setup .top ul>li.current {
    background-color: rgba(229, 231, 235, 0.4)
}

.setup__list--wrapper>.side__setup .top ul>li span {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    min-width: 32px;
    max-width: 32px;
    margin-right: 16px
}

.setup__list--wrapper>.side__setup .top .progress {
    margin-top: 30px;
    margin-bottom: 30px;
    position: relative;
    width: 100%;
    height: 6px;
    position: relative;
    background-color: #E5E7EB;
    border-radius: 250px
}

.setup__list--wrapper>.side__setup .top .progress .active {
    position: absolute;
    left: 0px;
    top: 0px;
    height: 100%;
    background-color: #1C45C2;
    border-radius: 250px
}

.setup__list--wrapper>.side__setup .top>h6 {
    margin-top: 0px;
    margin-bottom: 8px;
    font-size: 24px;
    line-height: 125%;
    font-weight: 600;
    color: #111928
}

.setup__list--wrapper>.side__setup .top>p {
    margin: 0px;
    font-size: 16px;
    line-height: 24px;
    color: #111928
}

@Media (max-width: 1200px) {
    .setup__list--wrapper>.side__setup {
        min-width: 260px;
        max-width: 260px
    }
}

@media (max-width: 991px) {
    .setup__list--wrapper {
        padding: 24px 16px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }

    .setup__list--wrapper>.side__setup {
        min-width: 0px;
        max-width: 100%;
        width: 100%;
        margin-bottom: 20px;
        margin-right: 0px
    }

    .setup__list--wrapper>.side__setup .top .progress {
        margin: 15px 0px
    }

    .setup__list--wrapper .content>.box {
        padding: 24px 16px
    }

    .setup__list--wrapper .content>.box>h6 {
        font-size: 24px
    }

    .setup__list--wrapper .content>.controls {
        margin-top: 20px
    }
}

@media (max-width: 767px) {
    .setup__list--wrapper .content>.box .double {
        margin-top: 15px;
        grid-template-columns: 1fr;
        grid-row-gap: 12px
    }
}

@media (max-width: 480px) {
    .setup__list--wrapper>.side__setup .top ul>li span {
        margin-right: 8px
    }

    .setup__list--wrapper>.side__setup .top ul>li p {
        font-size: 15px
    }

    .setup__list--wrapper .content>.box>h6 {
        font-size: 20px;
        margin-bottom: 5px
    }

    .setup__list--wrapper .content>.controls {
        margin-top: 15px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }

    .setup__list--wrapper .content>.controls>a {
        width: 100%;
        margin-right: 0px !important;
        margin-bottom: 12px
    }

    .setup__list--wrapper .content>.controls>a:last-child {
        margin-bottom: 0px
    }
}

/* ================== Added Page Custom CSS ======================= */
.primary_color_lable {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    font-size: 14px;
    line-height: 150%;
    font-weight: 500;
    color: #111928
}

#app_image_preview {
    width: auto;
    margin-top: 20px;
    height: auto;
    max-width: 200px;
}

#app_image_img {
    max-width: 100%;
    width: auto;
    height: auto;
}

.number__switcher ul {
    padding: 0px;
    list-style-type: none;
    margin: 0px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
}

.number__switcher ul>li {
    width: 100%;
    border-right: 1px solid #E5E7EB;
}

.number__switcher ul li>a {
    min-height: 42px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 14px;
    line-height: 130%;
    font-weight: 500;
    transition: .3s ease all;
    text-decoration: none;
}

.number__switcher ul li>a:hover {
    background-color: #F9F9F9;
    color: #000000;
}

.number__switcher ul li>a.current {
    background-color: #F9F9F9;
    color: #000000;
    font-weight: 500;
}

.number__containers {
    margin-bottom: 40px;
}

.number__containers .label {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.57142857;
    color: #505860;
    text-align: left;
    background-color: #fff;
}

.number__containers a {
    color: #3e8ef7;
    text-decoration: none;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}

.number__containers a:hover {
    color: #589ffc;
    text-decoration: underline;
}

.number-list ul {
    padding: 0px;
    margin-left: 0px;

    display: flex;
    grid-column-gap: 15px;
    grid-row-gap: 20px;
    flex-wrap: wrap;
}

.number-list li {
    /* float: left; */
    /* display: inline-block; */
    padding: 20px;
    border: 1px solid #ccc;
    /* margin: 5px; */
    list-style: none;
    min-width: 168px;
}

.number-list li:hover {
    background-color: #efefef;
    cursor: pointer;
}

.group__input .textarea {
    border: 1px solid #D1D5DB;
    outline: none;
    width: 100%;
    padding: 15px;
    background-color: #fff;
    resize: none;
    height: 110px;
    border-radius: 8px;
    padding-left: 12px;
    padding-right: 12px;
    color: #000;
}

.group__input .label,
.custom-input .label {
    margin-top: 0px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 150%;
    font-weight: 500;
    color: #111928;
}

.segment__container .segment__radios {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.segment__container .segment__radios .el {
    margin-right: 16px;
}

.segment__container .segment__radios .el .container__radio {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    cursor: pointer;
}

.segment__container .segment__radios .el .container__radio .radio {
    margin-right: 8px;
}

.segment__container .segment__radios .el .container__radio>p {
    margin: 0px;
    font-size: 14px;
    line-height: 14px;
    font-weight: 500;
    color: #111928;
}

.config-voip-number-info {
    margin-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.gln-btn-connect-fb-review .project-button {
    padding: 0px;
    width: 100%;
    /* display: inline-block; */
    background: #fff;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: gray;
}

.business_web_chatboot .configure__wrapper,
.business_ai_agent .configure__wrapper {
    padding: 0 !important;
}

.gln-flex-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
}

.gln-flex-item {
    width: fit-content;
    min-height: 30px;
    min-width: 400px;
    background-color: #ffffff;
    margin: 15px 15px;
    border: 1px solid lightgray;
    border-radius: 8px;
    box-shadow: 0px 1px 8px 0px lightgray;
    cursor: pointer;
    overflow: hidden;
}

.gln-flex-item.selected {
    border: 1px solid #3c68ec;
    box-shadow: 0px 1px 8px 0px #907ff0;
    background-color: #3c68ec;
    color: #fff;
}

.gln-flex-item.selected .gln-flex-text {
    /* background-color: var(--color-primary); */
    color: #fff;
}

.gln-flex-text {
    font-size: 15px;
    /* font-size: 13px; */
    text-align: center;
    color: #292d34;
    font-weight: 500;
    padding: 10px 25px;
    max-width: 400px;
}

.gln-flex-item-icon {
    width: 64px;
    margin: auto;
    padding-top: 20px;

    img {
        width: 100%;
    }
}

body.dark {
    .gln-flex-item {
        background-color: #111928;
        border: 1px solid #111928;
        box-shadow: 0px 1px 8px 0px #1f2a37;
    }

    .gln-flex-text {
        color: #fff;
    }

    .integrationbody .group__dropdown span {
        color: #fff;
    }

    .integrationbody .group__dropdown span:before {
        height: 0 !important;
    }
}

/* Channel List - Configure Channels Step */
.channel-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.channel-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 1px solid #E5E7EB;
    border-bottom: none;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.channel-list-item:first-child {
    border-radius: 8px 8px 0 0;
}

.channel-list-item:last-child {
    border-bottom: 1px solid #E5E7EB;
    border-radius: 0 0 8px 8px;
}

.channel-list-item:first-child:last-child {
    border-radius: 8px;
}

.channel-list-item:hover {
    background-color: #F9FAFB;
}

.channel-list-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.channel-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 15px;
}

.channel-list-info {
    display: flex;
    flex-direction: column;
}

.channel-list-title {
    font-size: 14px;
    font-weight: 500;
    color: #111928;
    line-height: 1.4;
    margin: 0;
}

.channel-list-desc {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.4;
    margin: 0;
}

.channel-list-right {
    flex-shrink: 0;
}

.channel-configured-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #059669;
}

.channel-configured-badge i {
    font-size: 11px;
}

.channel-configure-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #1C45C2;
}

body.dark .channel-list-item {
    border-color: #374151;
}

body.dark .channel-list-item:hover {
    background-color: #1F2937;
}

body.dark .channel-list-title {
    color: #F9FAFB;
}

body.dark .channel-list-desc {
    color: #9CA3AF;
}

body.dark .channel-configure-link {
    color: #6B8AFF;
}

body.dark .channel-configured-badge {
    color: #34D399;
}

@media (max-width: 480px) {
    .channel-list-item {
        padding: 12px;
    }

    .channel-list-desc {
        display: none;
    }
}

/* Add Data to Gleantap - Step 7 Expandable Sections */
.add-data-sections {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.add-data-section {
    border: 1px solid #E5E7EB;
    border-bottom: none;
}

.add-data-section:first-child {
    border-radius: 8px 8px 0 0;
}

.add-data-section:last-child {
    border-bottom: 1px solid #E5E7EB;
    border-radius: 0 0 8px 8px;
}

.add-data-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.add-data-section-header:hover {
    background-color: #F9FAFB;
}

.add-data-chevron {
    font-size: 12px;
    color: #6B7280;
    transition: transform 0.2s ease;
}

.add-data-chevron.rotated {
    transform: rotate(180deg);
}

.add-data-section-body {
    padding: 12px 16px 16px;
    border-top: 1px solid #E5E7EB;
}

.add-data-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.add-data-links .regular-btn,
.add-data-links .outline-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

/* Integration Logo Grid */
.onboarding-integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    max-height: 260px;
    overflow-y: auto;
    padding: 4px 0;
    margin-bottom: 10px;
}

.onb-integration-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.onb-integration-item:hover {
    border-color: #1C45C2;
    background-color: #F0F4FF;
    color: #1C45C2;
    text-decoration: none;
}

.onb-integration-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.onb-integration-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.onb-integration-item.onb-integration-connected {
    border-color: #059669;
    background-color: #F0FDF4;
}

.onb-integration-check {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #059669;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    overflow: visible !important;
}

.onb-integration-item {
    position: relative;
}

/* Dark mode for Add Data sections */
body.dark .add-data-section {
    border-color: #374151;
}

body.dark .add-data-section-header:hover {
    background-color: #1F2937;
}

body.dark .add-data-section-body {
    border-top-color: #374151;
}

body.dark .onb-integration-item {
    border-color: #374151;
    color: #D1D5DB;
}

body.dark .onb-integration-item:hover {
    border-color: #6B8AFF;
    background-color: #1F2937;
    color: #6B8AFF;
}

body.dark .onb-integration-item.onb-integration-connected {
    border-color: #059669;
    background-color: #052e16;
}

@media (max-width: 480px) {
    .onboarding-integrations-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    }

    .add-data-links {
        flex-direction: column;
    }

    .add-data-links .regular-btn,
    .add-data-links .outline-btn {
        width: 100%;
        justify-content: center;
    }
}

.onb-parse-url {
    .content {
        padding-top: 5px !important;
    }

    .configure__url {
        padding: 0 !important;
        border: 0 !important;
    }
}

.gln-modal-body {
    padding: 15px 20px;
}

.configure_channels_container {
    .modal__wrapper>.inner__modal>.modal__box {
        max-width: 800px;
        padding: 0;
        padding-bottom: 24px;
    }

    .modal__wrapper>.inner__modal>.modal__box .controls {
        padding: 25px 42px;
    }
}

#modal_configure_reviews {
    .sync-container .connectionlist li {
        max-width: 45%;
    }
}

#modal_configure_reviews .modal__box,
#modal_configure_email .modal__box,
#modal_configure_voice .modal__box,
#modal_configure_sms .modal__box,
#modal_newintegration .modal__box {
    max-width: 810px;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

#modal_configure_reviews .modal__box>div.top,
#modal_configure_email .modal__box>div.top,
#modal_configure_voice .modal__box>div.top,
#modal_configure_sms .modal__box>div.top,
#modal_newintegration .modal__box>div.top {
    padding: 0 0 15px 0;
}

.modal-configure-channels {
    .modal_body {
        max-height: calc(100vh - 290px);
        overflow-y: auto;
    }
}

/* Step 7 Integration Modal */
#modal_onb_integration .modal__box {
    max-width: 810px;
    display: flex;
    flex-direction: column;
    max-height: 85vh;
}

#modal_onb_integration .modal__box > div.top {
    padding: 0 0 15px 0;
    flex-shrink: 0;
}

#modal_onb_integration .new_integrations_container {
    padding: 0 5px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

#modal_onb_integration .integration-form-container {
    min-height: auto !important;
    margin-top: 0;
}

#modal_onb_integration .integrationbody {
    padding: 0 10px;
}

#modal_onb_integration .integrationbody > .border-bottom {
    padding-top: 5px;
    margin-bottom: 0;
}

#modal_onb_integration .integrationbody .controls {
    padding: 20px 10px;
    margin-top: 10px;
    max-width: 100%;
    margin-left: 0px;
    margin-right: 0px;
    border-top: none;
}

/* Pixel Code Block */
.onb-pixel-code-wrapper {
    position: relative;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
}

.onb-pixel-code {
    margin: 0;
    padding: 16px;
    padding-right: 80px;
    font-size: 12px;
    line-height: 1.6;
    color: #374151;
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 180px;
    overflow-y: auto;
}

.onb-copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #fff;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: background-color 0.15s ease;
}

.onb-copy-btn:hover {
    background: #F3F4F6;
}

body.dark .onb-pixel-code-wrapper {
    background: #1F2937;
    border-color: #374151;
}

body.dark .onb-pixel-code {
    color: #D1D5DB;
}

body.dark .onb-copy-btn {
    background: #374151;
    border-color: #4B5563;
    color: #D1D5DB;
}

/* Email Provider Selection Flow */
.email-provider-list {
    padding: 24px;
}

.email-provider-heading {
    margin: 0 0 16px 0;
    font-size: 14px;
    font-weight: 500;
    color: #6B7280;
}

.email-provider-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.email-provider-card {
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 20px 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.email-provider-card:hover {
    border-color: #1C45C2;
    box-shadow: 0 2px 8px rgba(28, 69, 194, 0.1);
}

.email-provider-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: #fff;
    font-size: 18px;
}

.email-provider-card-title {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: #111928;
    line-height: 1.3;
}

.email-provider-card-desc {
    margin: 0;
    font-size: 12px;
    color: #6B7280;
    line-height: 1.4;
}

body.dark .email-provider-card {
    border-color: #374151;
}

body.dark .email-provider-card:hover {
    border-color: #6B8AFF;
    box-shadow: 0 2px 8px rgba(107, 138, 255, 0.15);
}

body.dark .email-provider-card-title {
    color: #F9FAFB;
}

body.dark .email-provider-card-desc {
    color: #9CA3AF;
}

body.dark .email-provider-heading {
    color: #9CA3AF;
}

.email-provider-card.provider-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.sms-voice-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sms-voice-toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: #111928;
}

.sms-voice-toggle-hint {
    margin: 0;
    font-size: 12px;
    color: #F59E0B;
    font-style: italic;
}

body.dark .sms-voice-toggle-label {
    color: #F9FAFB;
}

@media (max-width: 600px) {
    .email-provider-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.email-config-panel {
    padding: 16px 24px;
}

.email-fetch-spinner {
    display: inline-block;
    margin-left: 10px;
    font-size: 13px;
    color: #6B7280;
    font-style: italic;
}

.email-domain-display {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    padding: 0 8px;
    min-width: 100px;
}

#modal_configure_email .controls,
#modal_configure_sms .controls {
    justify-content: space-between;
}

.sms-modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
}

#modal_configure_sms .controls {
    flex-shrink: 0;
    border-top: 1px solid #E5E7EB;
}

body.dark #modal_configure_sms .controls {
    border-top-color: #374151;
}

/* ── SMS Wizard Stepper ── */

.sms-wizard-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 24px 20px;
    margin-bottom: 8px;
    gap: 0;
}

.sms-wizard-step {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.sms-wizard-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    background: #E5E7EB;
    color: #6B7280;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

.sms-wizard-step-label {
    font-size: 13px;
    font-weight: 500;
    color: #9CA3AF;
    transition: color 0.2s;
}

.sms-wizard-step.active .sms-wizard-step-num {
    background: #1C45C2;
    color: #fff;
}

.sms-wizard-step.active .sms-wizard-step-label {
    color: #111928;
    font-weight: 600;
}

.sms-wizard-step.completed .sms-wizard-step-num {
    background: #059669;
    color: #fff;
}

.sms-wizard-step.completed .sms-wizard-step-label {
    color: #059669;
}

.sms-wizard-step-line {
    flex: 1;
    height: 2px;
    background: #E5E7EB;
    margin: 0 12px;
    min-width: 20px;
    transition: background 0.2s;
}

.sms-wizard-step-line.completed {
    background: #059669;
}

/* Wizard footer controls */
.sms-wizard-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sms-wizard-controls-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.sms-wizard-panel {
    padding: 0 0 8px;
}

/* Dark mode - wizard */
body.dark .sms-wizard-step-num {
    background: #374151;
    color: #9CA3AF;
}

body.dark .sms-wizard-step-label {
    color: #6B7280;
}

body.dark .sms-wizard-step.active .sms-wizard-step-num {
    background: #1C45C2;
    color: #fff;
}

body.dark .sms-wizard-step.active .sms-wizard-step-label {
    color: #F9FAFB;
}

body.dark .sms-wizard-step.completed .sms-wizard-step-num {
    background: #059669;
    color: #fff;
}

body.dark .sms-wizard-step.completed .sms-wizard-step-label {
    color: #34D399;
}

body.dark .sms-wizard-step-line {
    background: #374151;
}

body.dark .sms-wizard-step-line.completed {
    background: #059669;
}

/* ── Gleantap SMS Config Panel ── */

.sms-gleantap-body {
    padding: 0 24px 16px;
}

/* Number Banner */
.sms-number-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 10px;
    background: #F3F4F6;
    margin-top: 15px;
    margin-bottom: 24px;
}

.sms-number-banner.has-number {
    background: #ECFDF5;
}

.sms-number-banner-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    background: #E5E7EB;
    color: #6B7280;
}

.sms-number-banner.has-number .sms-number-banner-icon {
    background: #D1FAE5;
    color: #059669;
}

.sms-number-banner-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sms-number-banner-label {
    margin: 0;
    font-size: 12px;
    color: #6B7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.sms-number-banner-value {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #111928;
    letter-spacing: 0.5px;
}

.sms-number-banner-sublabel {
    margin: 0;
    font-size: 13px;
    color: #9CA3AF;
}

.sms-number-change-link {
    margin-left: auto;
    font-size: 13px;
    font-weight: 600;
    color: #1C45C2;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid #1C45C2;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
    white-space: nowrap;
}

.sms-number-change-link:hover {
    background: #1C45C2;
    color: #fff;
}

/* Sections */
.sms-section {
    margin-bottom: 24px;
}

.sms-section-title {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
    color: #111928;
}

.sms-section-desc {
    margin: 0 0 14px;
    font-size: 13px;
    color: #6B7280;
    line-height: 1.4;
}

/* Section Toggle (title + toggle side by side) */
.sms-section-toggle {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.sms-section-toggle-left {
    flex: 1;
}

.sms-section-toggle-left .sms-section-title,
.sms-section-toggle-left .sms-section-desc {
    margin-bottom: 0;
}

.sms-section-toggle .onoffswitch {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Number List Header */
.sms-number-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    margin-bottom: 8px;
    border-bottom: 1px solid #E5E7EB;
}

.sms-number-list-header span {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.sms-refresh-link {
    font-size: 13px;
    color: #1C45C2;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}

.sms-refresh-link:hover {
    color: #1638A0;
    text-decoration: underline;
}

/* Quiet Hours Row */
.sms-quiet-hours-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.sms-quiet-hours-row select {
    flex: 1;
    min-width: 0;
}

.sms-quiet-hours-sep {
    font-size: 13px;
    font-weight: 500;
    color: #6B7280;
    flex-shrink: 0;
}

/* ── Dark Mode ── */

body.dark .sms-number-banner {
    background: #1F2937;
}

body.dark .sms-number-banner.has-number {
    background: #064E3B;
}

body.dark .sms-number-banner-icon {
    background: #374151;
    color: #9CA3AF;
}

body.dark .sms-number-banner.has-number .sms-number-banner-icon {
    background: #065F46;
    color: #34D399;
}

body.dark .sms-number-banner-label {
    color: #9CA3AF;
}

body.dark .sms-number-banner-value {
    color: #F9FAFB;
}

body.dark .sms-number-banner-sublabel {
    color: #6B7280;
}

body.dark .sms-number-change-link {
    color: #60A5FA;
    border-color: #60A5FA;
}

body.dark .sms-number-change-link:hover {
    background: #60A5FA;
    color: #111928;
}

body.dark .sms-section-title {
    color: #F9FAFB;
}

body.dark .sms-section-desc {
    color: #9CA3AF;
}

body.dark .sms-number-list-header {
    border-bottom-color: #374151;
}

body.dark .sms-number-list-header span {
    color: #D1D5DB;
}

body.dark .sms-refresh-link {
    color: #60A5FA;
}

body.dark .sms-refresh-link:hover {
    color: #93BBFD;
}

body.dark .sms-quiet-hours-sep {
    color: #9CA3AF;
}

/* ── Integration Modal Overrides ── */

#modal_newintegration .new_integrations_container {
    height: auto;
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
}

#modal_newintegration .integration-form-container {
    min-height: auto !important;
    margin-top: 0;
}

#modal_newintegration .controls.integration-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px 16px 0;
    margin-top: 8px;
    border-top: 1px solid #E5E7EB;
    position: sticky;
    bottom: 0;
    background: #fff;
    z-index: 2;
}

#modal_newintegration .integration-controls-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

body.dark #modal_newintegration .controls.integration-controls {
    background: #1F2937;
}

/* ── Integration Branded Header ── */

.integration-brand-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.integration-brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    color: #fff;
}

.integration-brand-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.integration-brand-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #111928;
    line-height: 1.3;
}

.integration-brand-desc {
    margin: 0;
    font-size: 13px;
    color: #6B7280;
    line-height: 1.4;
}

/* ── Integration Checkbox Cards ── */

.integration-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.integration-checkbox-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    margin: 0;
}

.integration-checkbox-card:hover {
    border-color: #D1D5DB;
    background-color: #F9FAFB;
}

.integration-checkbox-card input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #1C45C2;
    cursor: pointer;
    flex-shrink: 0;
}

.integration-checkbox-card input[type="checkbox"]:checked ~ .integration-checkbox-text {
    color: #111928;
    font-weight: 500;
}

.integration-checkbox-indicator {
    display: none;
}

.integration-checkbox-text {
    font-size: 13px;
    font-weight: 400;
    color: #374151;
    line-height: 1.3;
    cursor: pointer;
}

/* ── Dark Mode – Integration Modals ── */

body.dark .integration-brand-title {
    color: #F9FAFB;
}

body.dark .integration-brand-desc {
    color: #9CA3AF;
}

body.dark .integration-brand-header {
    background: rgba(255, 255, 255, 0.05) !important;
}

body.dark #modal_newintegration .controls.integration-controls {
    border-top-color: #374151;
}

body.dark .integration-checkbox-card {
    border-color: #374151;
}

body.dark .integration-checkbox-card:hover {
    border-color: #4B5563;
    background-color: #1F2937;
}

body.dark .integration-checkbox-text {
    color: #D1D5DB;
}

body.dark .sms-number-list-header span.label, body.dark .dlcnumber__container p.label {
    background: transparent;
}

#voice_sip_credentials_panel {
    background: #F9FAFB
}

body.dark #voice_sip_credentials_panel {
    background: #1F2937;
}

body.dark .integration-form-container .outline-btn {
    color : var(--color-dark-text) !important;
}