/**
 * @author 1902 Software
 * @copyright Copyright © 2023 1902 Software (https://1902software.com/magento/)
 * @package WriteTextAI_WriteTextAI
 */
 
/* eslint-disable Magento2.Less.ClassNaming.NotAllowedSymbol */

@screen__t: 768px;
@screen__m: 1180px;
@screen__l: 1440px;
@screen__xl: 1600px;

.wtai-italized {
    font-style: italic;
}

.wtai-400 {
    font-weight: 400;
}

.modal-popup.wtai-bulk-keyword-analysis-popup,
.modal-popup.wtai-confirm.wtai-bulk-generate-popup,
.modal-popup.wtai-bulk-full-automation-popup {
    .modal-inner-wrap {
        max-width: 405px;
        width: ~"calc(100% - 60px)";

        @media screen and (min-width: @screen__t) {
            max-width: 710px;
        }

        @media screen and (min-width: @screen__m) {
            max-width: 920px;
        }
    }

    .modal-footer {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 20px;

        .wtai-submit-actions {
            display: flex;
            align-items: center;
            flex-grow: 1;
            margin-right: 40px;
            flex-wrap: wrap;
            grid-gap: 10px;

            @media screen and (min-width: @screen__t) {
                flex-wrap: nowrap;
                grid-gap: 20px;
            }

            .wtai-subtitle-link {
                margin-right: auto;
                order: 2;

                @media screen and (min-width: @screen__t) {
                    order: unset;
                }
            }
        }
    }
            
    .wtai-grid-prompt-tooltip {
        .lib-tooltip(
            @_tooltip-position: top,
            @_tooltip-border-color: transparent,
            @_tooltip-color: #303030,
            @_tooltip-cursor: pointer
        );

        .tooltip-content {
            box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.3);
        }
    }
}

.modal-popup.wtai-bulk-keyword-analysis-popup,
.modal-popup.wtai-confirm.wtai-bulk-generate-popup,
.modal-popup.wtai-bulk-full-automation-popup {
    overflow: hidden;
    
    .modal-inner-wrap {
        .modal-header {
            padding-top: 20px;
            padding-right: 20px;
            padding-left: 20px;
        }

        .modal-content {
            padding: 0;

            @media screen and (min-width: @screen__l) {
                max-height: none;
            }

            .wtai-bulk-prompt-header {
                display: flex;
                justify-content: space-between;
                padding-left: 20px;
                padding-right: 20px;
                margin-bottom: 25px;
                align-items: center;

                .wtai-bulk-prompt-title {
                    font-weight: 600;
                    font-size: 22px;
                    line-height: 30px;
                }
                
                .wtai-restore {
                    font-weight: 400;
                    font-size: 14px;
                    line-height: 19px;
                }
            }

            .wtai-subtitle {
                margin: 0;
                padding: 0 20px 20px;
                font-size: 14px;
                line-height: 20px;
            }

            .wtai-tabs-error-message {
                margin: 0 20px 20px;
            }

            form {
                max-height: ~"calc(100vh - 477px)";
                overflow-y: auto;
                padding-top: 20px;
                padding-left: 20px;

                @media screen and (min-width: @screen__t) {
                    max-height: ~"calc(100vh - 497px)";
                    margin-bottom: 53px;
                    padding-top: 0;
                    padding-left: 0;
                }

                @media screen and (min-width: @screen__m) {
                    margin-bottom: 0;
                    max-height: none;
                    overflow-y: unset;
                }

                @media screen and (min-width: @screen__l) {
                    max-height: none;
                }
        
                .wtai-form-fields {
                    display: block;

                    @media screen and (min-width: @screen__t) {
                        display: flex;
                    }

                    .wtai-tabs {
                        .lib-data-tabs();
                        width: auto;
                        padding-right: 10px;

                        @media screen and (min-width: @screen__t) {
                            width: 635px;
                            padding-right: 20px;
                        }
                        @media screen and (min-width: @screen__m) {
                            min-width: 700px;
                        }

                        .item.content.wtai-tab-content {
                            padding: 0;
                            float: unset;
                            margin-left: 0;
                            margin-top: 0;
                            border-top: none;
                            height: auto;

                            @media screen and (min-width: @screen__m) {
                                float: right;
                                margin-left: -100%;
                                margin-top: 38px;
                                border-top: 1px solid #e3e3e3;
                            }
                            
                            .messages {
                                .message.message-warning.warning {
                                    margin-bottom: 10px;
                                }
                            }

                        }

                        .item.title.wtai-tab-title {
                            float: unset;
                            margin: 0;
                            
                            @media screen and (min-width: @screen__m) {
                                margin-right: 10px;
                                float: left;
                            }

                            &[aria-expanded="true"] {
                                @media screen and (min-width: @screen__m) {
                                    padding-bottom: 5px;
                                    border-bottom: 2px solid #ffffff;
                                }

                                .switch {
                                    background-color: #ffffff;
                                    height: 40px;
                                    color: #1D2327;
                                    opacity: 1;
                                    font-weight: 600;
                                    @media screen and (min-width: @screen__m) {
                                        border: 1px solid #d1d1d1;
                                        border-bottom: 3px solid #ffffff;
                                    }

                                    &:hover {
                                        background-color: #ffffff;
                                    }
                                }
                            }

                            .switch {
                                color: #1D2327;
                                height: 38px;
                                padding: 1rem;
                                font-size: 14px;
                                font-weight: 400;
                                -moz-border-radius: 0;
                                -webkit-border-radius: 3px 3px 0 0;
                                background-color: #EEEEEE;
                                border-bottom: 1px solid #d1d1d1;

                                &:hover {
                                    background: #EEEEEE;
                                }

                                &:active {
                                    background: #EEEEEE;
                                    color: rgba(29, 35, 39, 0.6);
                                    text-decoration: none;
                                }

                                @media screen and (min-width: @screen__m) {
                                    border-bottom: none;
                                    border-radius: 12px 12px 0 0;
                                }
                            }
                        }
                    }
                
                    .wtai-fieldset {
                        border: none;
                        margin-left: 0;
                        padding: 0;
    
                        &:last-child {
                            margin-right: 0;
                        }
    
                        .wtai-field-rows {
                            p {
                                font-size: 13px;
                            }
                        }
    
                        .wtai-fieldset-title {
                            font-weight: 600;
                            margin-bottom: 10px;
                            display: flex;
                        }
    
                        .wtai-fieldset-subtitle {
                            font-weight: 400;
                            margin-bottom: 10px;
                            font-size: 11px;
                            font-style: italic;
                        }
                    
                        .wtai-field {
                            margin-bottom: 10px;
                            &.wtai-not-allowed {
                                input, label, label:before {
                                    cursor: not-allowed;
                                }
                            }
                        }
                    }
    
                    .wtai-mobile-divider {
                        background-color: #e3e3e3;
                        border: none;
                        height: 1px;
                        margin-bottom: 20px;
                        width: 100%;

                        @media screen and (min-width: @screen__t) {
                            margin: 0;
                        }
                        
                        @media screen and (min-width: @screen__m) {
                            display: none;
                        }
    
                        &.wtai-tablet-hidden {
                            @media screen and (min-width: @screen__t) {
                                display: none;
                            }
                        }
                    }

                    #wtaiTonesStyleAudienceTab {
                        position: relative;
                    }

                    .wtai-use-ai-field-wrapper {
                        display: flex;
                        align-items: center;
                        grid-gap: 10px;
                        padding: 10px 35px 10px 10px;
                        border-bottom: solid 1px #e3e3e3;
                        position: sticky;
                        top: 0;
                        background: #ffffff;
                        z-index: 1;

                        .wtai-select-ai-model {
                            flex-grow: 1;

                            select {
                                width: 100%;
                            }
                        }

                        .admin__field-tooltip-content {
                            left: auto;
                            right: -35px;

                            &::after,
                            &::before {
                                left: auto;
                                right: 10px;
                            }
                        }
                    }
    
                    .wtai-col {
                        margin: 0;
                        padding-right: 0;
    
                        &.wtai-col-0 {
                            @media screen and (min-width: @screen__t) {
                                flex-grow: 1;
                                border-radius: unset;
                                padding-left: 20px;
                                margin-right: 0px;
                                padding-top: 10px;

                            }

                            @media screen and (min-width: @screen__m) {
                                margin-right: 0;
                            }
                        }
                    
                        &.wtai-col-1 {
                            @media screen and (min-width: @screen__t) {
                                padding-left: 0;
                                padding-right: 0;
                            }
                    
                            .row {
                                display: flex;
                                flex-wrap: wrap;
                                width: 100%;
                                align-content: space-between;
                                padding: 1.5rem 2rem 0;
                                height: auto;
                                flex-direction: row;
                                
                                @media screen and (min-width: @screen__t) {
                                    flex-direction: column;
                                    height: 450px;
                                }

                                @media screen and (min-width: @screen__m) and (min-height: 600px){
                                    height: calc(300px - 52px);
                                }

                                @media screen and (min-width: @screen__m) and (min-height: 700px){
                                    height: calc(350px - 52px);
                                }

                                @media screen and (min-width: @screen__m) and (min-height: 800px){
                                    height: calc(400px - 52px);
                                }

                                @media screen and (min-width: @screen__m) and (min-height: 850px){
                                    height: 392px;
                                }

                                &::after {
                                    content: none;
                                }

                                &.wtai-has-error {
                                    height: 359px;
                                }

                                .wtai-fieldset {
                                    &:first-child {
                                        flex-grow: 1;
                                    }
                                    @media screen and (min-width: @screen__t) {
                                        &:first-child {
                                            flex-grow: unset;
                                        }
                                    }
                                }
                            }
                    
                            fieldset {
                                @media screen and (min-width: @screen__t) {
                                    max-width: 192px;
                                }
                            }
                        }
                    
                        &.wtai-col-2 {
                            position: relative;
                            height: 100%;

                            @media screen and (min-width: @screen__t) {
                                border-top: 1px solid #e3e3e3;
                                border-left: 1px solid #e3e3e3;
                                margin: 0;
                            }
                    
                            @media screen and (min-width: @screen__m) {
                                border-left: none;
                            }

                            .row.wtai-product-attributes {
                                height: 353px;
                                overflow: auto;
                                padding-top: 1.5rem;
                                padding-left: 20px;

                                .wtai-text-introduction {
                                    margin-bottom: 20px;
                                }

                                @media screen and (min-width: @screen__t) {
                                    padding-bottom: 10px;
                                    height: auto;
                                }

                                @media screen and (min-width: @screen__m) and (min-height: 600px){
                                    height: 146px
                                }

                                @media screen and (min-width: @screen__m) and (min-height: 700px){
                                    height: 196px;
                                }

                                @media screen and (min-width: @screen__m) and (min-height: 800px){
                                    height: 242px;
                                }

                                @media screen and (min-width: @screen__m) and (min-height: 850px){
                                    height: 296px;
                                }

                            }
                    
                            .wtai-field-columns {
                                
                                max-height: unset;
                                height: auto;
                                -webkit-column-count: 2;
                                -moz-column-count: 2;
                                column-count: 2;

                                @media screen and (min-width: @screen__t) {
                                    -webkit-column-count: 3;
                                    -moz-column-count: 3;
                                    column-count: 3;
                                }
                        
                                .wtai-fieldset-title {
                                    flex: 100%;
                                }
                        
                                .wtai-field {
                                    flex: 100%;
                    
                                    &:not(:first-child) {
                                        @media screen and (min-width: @screen__l) {
                                            flex: 50%;
                                        }
                                    }

                                    &.wtai-select-all {
                                        @media screen and (min-width: @screen__l) {
                                            flex: 100%;
                                        }
                                    }
                        
                                    &:nth-child(odd) {
                                        .wtai-label {
                                            padding-right: 20px;
                                        }
                                    }

                                    .wtai-thumbnail-text {
                                        font-weight: 400;
                                        font-style: italic;
                                        font-size: 11px;
                                        margin-bottom: 0;
                                    }
                                }
                            }

                            .wtai-special-instructions {
                                position: relative;
                                bottom: 2px;
                                width: 100%;
                                background: #ffffff;
                                left: 0;
                                padding: 8px 20px;
                                border-top: solid 1px #e3e3e3;

                                .admin__field-label {
                                    color: #41362f;
                                    font-size: 14px;
                                    font-weight: 600;
                                }

                                .wtai-control {
                                    margin-top: 10px;

                                    .wtai-note {
                                        font-size: 11px;
                                        line-height: 14px;
                                    }

                                    textarea {
                                        width: 100%;
                                        resize: none;
                                        font-size: 13px;
                                        height: 32px;
                                        margin-bottom: -4px;
                                    }
                                }

                                .admin__field-tooltip {
                                    margin-top: 0;
                                }
                            }
                        }
                    
                        &.wtai-input-col {
                            max-width: unset;
                            padding: 20px;
                            
                            .wtai-field-rows {
                                background-color: #f6f6f6;
                                width: 100%;
                                padding: 20px;
                                display: flex;
                                margin-bottom: 20px;
                                border-radius: 4px;
                                flex-direction: column;
                                gap: 10px;
                                @media screen and (min-width: @screen__t) {
                                    flex-direction: row;
                                    gap: unset;
                                }
                        

                                .wtai-field:first-child {
                                    flex-grow: 1;
                                    margin-bottom: 0;
                                }
                                .wtai-field.admin__field.row {
                                    display: flex;
                                    column-gap: 20px;
                                    margin-bottom: 0;

                                    &::after {
                                        content: none;
                                    }
                                }
                            }

                            .wtai-label {
                                display: inline-block;
                                width: 40px;
                                word-break: break-word;
                            }
                    
                            .wtai-error-message {
                                max-width: 165px;
                            }
                            
                            .row {
                                .wtai-control {
                                    margin-bottom: 15px;
                                    align-items: center;
                                    display: flex;
                                    margin-bottom: 0;

                                    &.wtai-disabled {
                                        opacity: .5;
                                        pointer-events: none;
                                    }
                                }
                            }
                        }
    
                        &.wtai-col-4 {
                            padding: 20px;

                            .wtai-disclaimer {
                                display: block;
                                font-size: 11px;
                                font-style: italic;
                                margin-top: 10px;
                            }

                            .wtai-field-rows {
                                background-color: #f6f6f6;
                                width: 100%;
                                padding: 20px;
                                margin-bottom: 20px;
                                border-radius: 4px;

                                .wtai-flex-container {
                                    display: flex;
                                    justify-content: space-between;
                                    align-items: center;
                                }

                                .wtai-search-intent-container {
                                    .wtai-field {
                                        display: flex;

                                        + .wtai-field {
                                            margin-top: 10px;
                                        }
                                    }

                                    .wtai-fieldset-title {
                                        margin-bottom: 5px;
                                    }

                                    .wtai-negative-keywords-link {
                                        margin-left: auto;
                                    }

                                    .wtai-search-intent-help-container {
                                        display: block;
                                        position: relative;
                                        bottom: 6px;
                                        left: 4px;

                                        .admin__field-tooltip.wtai-small {
                                            .admin__field-tooltip-action {
                                                &:before {
                                                    font-size: 14px;
                                                }
                                            }
                                        }
                                    }
                                }

                                .wtai-cluster-based-container {
                                    .wtai-fieldset-title {
                                        display: block;
                                        margin-bottom: 0;
                                    }
                                }

                                .wtai-field-auto-text-opt {
                                    .wtai-fieldset-title {
                                        display: flex;
                                        align-items: flex-end;
                                        grid-gap: 5px;
                                        margin-bottom: 0;
                                    }

                                    .wtai-fieldset-subtitle {
                                        margin-top: 5px;
                                        margin-bottom: 10px;
                                        font-style: italic;
                                        font-size: 11px;
                                    }

                                    .wtai-field.admin__scope-old:not(:last-child) {
                                        margin-bottom: 10px;
                                    }
                                }
                                
                                .wtai-field {
                                    margin-bottom: 0;

                                    .wtai-search-intent-options {
                                        display: flex;
                                        gap: 10px;
                                        flex-wrap: wrap;

                                        &.wtai-one-item-selected {
                                            .wtai-intent-item-container.wtai-selected {
                                                cursor: not-allowed;
        
                                                &.wtai-navigational {
                                                    &:hover {
                                                        .wtai-intent-item-tooltip.wtai-navigational {
                                                            display: none;
                                                        }
                                                    }
                                                }
            
                                                &.wtai-informational {
                                                    &:hover {
                                                        .wtai-intent-item-tooltip.wtai-informational {
                                                            display: none;
                                                        }
                                                    }
                                                }
                                        
                                                .wtai-intent-item-tooltip.wtai-single-item {
                                                    &.wtai-show {
                                                        display: block;
                                                    }
                                                }
                                            }
                                        }

                                        .wtai-intent-item-container {
                                            display: inline-block;
                                            padding: 5px 0;
                                            position: relative;
                                            cursor: pointer;

                                            &.wtai-navigational {
                                                &:hover {
                                                    .wtai-intent-item-tooltip.wtai-navigational {
                                                        display: block;
                                                        width: 300px;
                                                        transform: translateY(-77%) translate(-50%);
                                                    }
                                                }
                                            }
        
                                            &.wtai-informational {
                                                &:hover {
                                                    .wtai-intent-item-tooltip.wtai-informational {
                                                        display: block;
                                                        width: 300px;
                                                        transform: translateY(-77%) translate(-50%);
                                                    }
                                                }
                                            }
                                        }

                                        .wtai-search-intent-option {
                                            display: inline;
                                            border: solid 1px #8c8f94;
                                            padding: 5px 6px;
                                            border-radius: 3px;
                                            font-weight: 600;
                                            font-size: 14px;

                                            &.wtai-selected {
                                                color: #eb5202;
                                                border: solid 1px #eb5202;

                                                &:after {
                                                    content: '\e62d';
                                                    display: inline-block;
                                                    font-family: 'Admin Icons';
                                                    margin-left: 5px;
                                                    font-size: 11px;
                                                    font-weight: 400;
                                                }
                                            }
                                        }

                                        .wtai-intent-item-tooltip {
                                            position: absolute;
                                            background-color: #fff;
                                            font-size: 13px;
                                            top: -32px;
                                            box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.3);
                                            padding: 4px 8px;
                                            z-index: 2;
                                            display: none;
                                            left: 64%;
                                            transform: translate(-50%);
                                            width: max-content;
                                            border: none;

                                            &:after {
                                                border-color: #fff transparent transparent transparent;
                                                border-style: solid;
                                                border-width: 10px;
                                                top: 79%;
                                                content: "";
                                                left: 98px;
                                                transform: translate(-50%);
                                                position: absolute;
                                            }
                                        }
                                    }

                                    .admin__actions-switch-text {
                                        &::before {
                                            padding-left: 40px;
                                        }
                                    }
                                }
                            }
                            
                            .wtai-divider {
                                background-color: #e3e3e3;
                                border: none;
                                height: 1px;
                                margin-bottom: 20px;
                                width: 100%;
                                margin-top: 20px;
                            }
                        }

                        &.wtai-disabled {
                            opacity: .5;
                        }

                        .wtai-col-title {
                            padding: 10px 20px 0 20px;
                            font-weight: 600;
                        }

                        .wtai-text-length {
                            font-size: 11px;
                            text-align: right;
                            float: right;
                            margin-top: 2px;
                        }

                        .admin__field-label {
                            text-align: left;
        
                            &.wtai-strong {
                                font-weight: 600;
                            }
                        }
                    }
                }
        
                .wtai-grid-settings {
                    background: #fff;
                    border-bottom: solid 1px #e3e3e3;
                    border-top: solid 1px #e3e3e3;
                    bottom: 101px;
                    left: 0;
                    padding: 10px 30px;
                    position: fixed;
                    width: 100%;
            
                    .wtai-note {
                        color: #8C8F94;
                        font-size: 11px;
                        margin-top: 5px;
                        padding-left: 25px;
                    }
                }

                .wtai-cluster-count,
                .wtai-input-number {
                    width: 36px;
                }

                .ui-spinner-button {
                    cursor: pointer;
                }
            }
        }

        .modal-footer {
            .action-dismiss {
                display: none;
            }
            .action-primary {
                background-color: #eb5202;
                border-color: #eb5202;
                color: #ffffff;
            }
        }
    }

    .wtai-optimization-settings-container {
        position: relative;
        .wtai-bulk-optimization-mask {
            background-color: rgba(255, 255, 255, 0.4);
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 5;
            cursor: not-allowed;
            &:hover {
                .tooltip-content {
                    display: block;
                }
            }
        }
        .tooltip.wtai-keyword-opt-disabled-tooltip {
            position: absolute;
            z-index: 20;
            top: 33%;
            left: 24%;
            .tooltip-content {
                &:before {
                    left: 50%;
                }
            }
        }
        &:hover {
            .tooltip.wtai-keyword-opt-disabled-tooltip {
                .tooltip-content {
                    display: block;
                }
            }
        }
    }

    .wtai-restore-global-mask,
    .wtai-loading-mask {
        background-color: #ffffff;
        background-image: url("../WriteTextAI_WriteTextAI/images/mage-loader.gif");
        background-position: center;
        margin: 0;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background-repeat: no-repeat;
        z-index: 5;
        background-size: 30px 30px;

        &.wtai-no-display {
            display: none;
        }
    }

    .wtai-restore-global-mask {
        opacity: .5;
    }
}

.modal-popup.wtai-confirm.wtai-bulk-generate-popup,
.modal-popup.wtai-bulk-full-automation-popup {
    .modal-inner-wrap {
        .modal-content {
            form {
                .wtai-form-fields {
                    .wtai-tabs {
                        .lib-data-tabs();
                        width: auto;
                        padding-right: 10px;
                        
                        @media screen and (min-width: @screen__t) {
                            width: 635px;
                            padding-right: 20px;
                        }
                        @media screen and (min-width: @screen__m) {
                            min-width: 700px;
                        }

                        .item.content.wtai-tab-content {
                            padding: 0;
                            float: unset;
                            margin-left: 0;
                            margin-top: 0;
                            border-top: none;
                            height: 477px;
                            height: auto;

                            @media screen and (min-width: @screen__m) {
                                float: right;
                                margin-left: -100%;
                                margin-top: 38px;
                                border-top: 1px solid #e3e3e3;
                            }
                            
                            height: auto;
                            
                            @media screen and (min-width: @screen__m) {
                                min-height: 450px;
                            }

                            @media screen and (min-width: @screen__m) and (min-height: 600px){
                                height: calc(300px - 54px);
                                min-height: unset;
                                overflow: auto;
                            }

                            @media screen and (min-width: @screen__m) and (min-height: 700px){
                                height: calc(350px - 54px);
                            }

                            @media screen and (min-width: @screen__m) and (min-height: 800px){
                                height: calc(400px - 54px);
                            }

                            @media screen and (min-width: @screen__m) and (min-height: 850px){
                                height: 394px;
                            }

                            &.wtai-templates-tab {
                                .wtai-text-introduction {
                                    margin-bottom: 20px;
                                }

                                .admin__field-label.wtai-label {
                                    min-width: 234px;
                                    display: inline-block;
                                }

                                .wtai-field {
                                    margin-bottom: 10px;
                                }
                            }

                            .wtai-field.wtai-custom {
                                padding-left: 27px;
                            }

                        }

                        .item.title.wtai-tab-title {
                            float: unset;
                            margin: 0;
                            
                            @media screen and (min-width: @screen__m) {
                                margin-right: 10px;
                                float: left;
                            }

                            &[aria-expanded="true"] {
                                @media screen and (min-width: @screen__m) {
                                    padding-bottom: 5px;
                                    border-bottom: 2px solid #ffffff;
                                }

                                .switch {
                                    background-color: #ffffff;
                                    height: 40px;
                                    color: #1D2327;
                                    opacity: 1;
                                    font-weight: 600;
                                    @media screen and (min-width: @screen__m) {
                                        border: 1px solid #d1d1d1;
                                        border-bottom: 3px solid #ffffff;
                                    }

                                    &:hover {
                                        background-color: #ffffff;
                                    }
                                }
                            }

                            .switch {
                                color: #1D2327;
                                height: 38px;
                                padding: 1rem;
                                font-size: 14px;
                                font-weight: 400;
                                -moz-border-radius: 0;
                                -webkit-border-radius: 3px 3px 0 0;
                                background-color: #EEEEEE;
                                border-bottom: 1px solid #d1d1d1;

                                &:hover {
                                    background: #EEEEEE;
                                }

                                &:active {
                                    background: #EEEEEE;
                                    color: rgba(29, 35, 39, 0.6);
                                    text-decoration: none;
                                }

                                @media screen and (min-width: @screen__m) {
                                    border-bottom: none;
                                    border-radius: 12px 12px 0 0;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    .modal-footer {
        .action-primary.action-accept:not(.wtai-default-width) {
            min-width: 185px;
        }
    }
}