@use "../../../../anna-core/src/lib/anna-common-scss/application-spacing" as *;
.ml-20 {
    margin-left: 20px;
}

.biz-status-container {
    margin: 0 0px 8px 0px;
}
.hide {
    visibility: hidden;
}
.buyer-rep-section {
    display: flex;
    gap: 8px;
    anna-feature-biz-rules-buyer-rep-contact-section {
        width: 100%;
    }
}
.main-body {
    margin: 0 auto;
    max-width: $app-max-width;
    padding: 0px var(--app-right-space, 40px) 0 var(--app-left-space, 40px);
}

.button-and-copy {
    flex-direction: row;
    align-items: flex-end;
    width: 100%;
    height: 45px;
    align-items: center;
    padding-left: 12px;
    display: flex;
    padding-right: 8px;

    a,
    a:hover {
        color: #268bff;
        align-items: flex-end;
        display: flex;
        line-height: 16px;
        font-size: var(--page-link-fs);
        margin-right: 8px;
    }
}

.button-and-copy button.anna {
    width: 130px !important;
    display: inline-block;
    float: right !important;
    cursor: pointer;
    margin: 0 !important;
}

.button-container {
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
    gap: 8px;
    align-items: center;
}

.cursor-default,
.cursor-default button {
    cursor: default;
}

.container-div button.anna {
    width: 160px !important;
    display: inline-block;
    float: right !important;
    cursor: pointer;
    margin: 0 !important;
}

.button-container-modal {
    display: flex;
    flex-direction: row;
}

.metadata-row {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.history-link {
    margin-left: auto;
    margin-top: auto;
    font-family: Roboto;
    font-size: var(--page-link-fs);
    line-height: 16px;
    text-decoration: underline !important;

    a,
    a:hover {
        cursor: pointer !important;
        color: #268bff !important;
        text-decoration: underline !important;
    }

    a.disabled {
        color: #4a4a4a !important;
        opacity: 0.5;
        pointer-events: none;
        cursor: not-allowed;
    }
}

::ng-deep .biz-btn-tooltip .tooltip-inner {
    max-width: 190px;
}

a.disabled {
    color: #4a4a4a !important;
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

.save-button {
    background-color: white !important;
    color: var(--primary-blue-color) !important;
    border: 1px solid var(--primary-blue-color) !important;

    &:disabled {
        border: none !important;
    }
}

.edit-button {
    background-color: #dce8f6 !important;
    color: #268bff !important;
    font-weight: normal !important;

    .light-colored-text {
        color: #bdbdbd;
    }
}

//Modal related CSS
.button-container-modal {
    display: flex;
    flex-direction: row;
}

.modal-header {
    padding: 1rem 1.25rem;
}

.modal-body {
    padding: 10px;
}

::ng-deep .business-rule {
    .modal-content {
        min-width: 28.8125rem;
        width: 28.8125rem;
        max-width: 28.8125rem;
    }

    .modal-dialog {
        left: -6%;
    }
}

::ng-deep .biz-confirm-modals .modal-dialog {
    top: var(--ngb-modal-top) !important;
}
::ng-deep .lock-modals .modal-dialog {
    top: 50px !important;
}

::ng-deep .view-container {
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
}

::ng-deep .request-modification .modal-dialog {
    top: -35px !important;
    width: 26.5625rem !important;
    min-width: 26.5625rem !important;
    max-width: 26.5625rem !important;

    .modal-content {
        min-width: 26.5625rem !important;
    }

    .button-container-modal {
        margin-top: 16px;
    }
}
.biz-rule-page-wrapper {
    border: 1px solid #d4d4d4;
    border-radius: 6px;
}

.comment-textarea {
    resize: none;
    height: 90px;
    width: 100%;
}

:host ::ng-deep .ng-content-selector-for-message {
    display: inline;
    font-size: 0.75rem;
    font-weight: 400 !important;
    line-height: 16px !important;

    a,
    a:hover {
        color: #268bff;
        text-decoration: underline;
    }
}

::ng-deep section.message-box.sm.seller-approval-requested {
    .div-message p.message-label {
        padding: 0 0 0 1px !important;
    }
}
::ng-deep section.message-box.mt-8 {
    margin-top: 8px;
}
::ng-deep anna-design-message-box section.message-box.sm.inline-block-msg {
    padding: 4px 12px 4px 8px !important;
    .div-message p.message-label {
        display: inline-block !important;
        padding: 0 0 0 1px !important;
    }
    .div-icon {
        position: relative;
        top: 4px;
        left: 3px !important;
    }
}

.btn-loader {
    display: inline-block;
}

.mt-12 {
    margin-top: 12px;
}

.filters-selected {
    font-size: var(--page-link-fs);
}

//lock related css
.lock-expired-modal {
    padding-top: 8px;
    border: solid 1px #f44336;
    text-align: center;
    z-index: 1060 !important;
    font-size: var(--lock-message-fs);

    .mdi-alert-octagon {
        color: #f44336;
        font-size: 26px;
        width: 100%;
    }
    .mdi-close {
        font-size: 14px !important;
        position: relative;
        left: 5px;
        bottom: 55px;
        float: right;
        font-size: 18px;
        cursor: pointer;
        margin-left: auto;
    }

    button {
        color: #268bff;
        background: none;
        text-decoration: underline;
        cursor: pointer;
        padding: 0px !important;
    }
}
.red-lock-message {
    border: solid 1px red;

    .mdi-alert-octagon {
        color: red;
        font-size: 26px;
        width: 100%;
    }
}
button {
    cursor: pointer;
}
.lock-message {
    position: fixed;
    top: 120px;
    display: flex;
    flex-wrap: wrap;
    z-index: 999999;
    width: 354px;
    background: #fff;
    padding: 20px;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    box-shadow:
        0 27px 55px 0 rgba(0, 0, 0, 0.3),
        0 17px 17px 0 rgba(0, 0, 0, 0.15);
    i {
        width: 100%;
    }
    span {
        font-family: Roboto;
        font-weight: 500;
        color: #4a4a4a;
    }

    .mdi-close {
        position: absolute;
        left: 160px;
        top: 8px;
        float: right;
        font-size: 18px;
        cursor: pointer;
        margin-left: auto;
    }
}

.orange-lock-message {
    border: solid 1px #ffb300;

    .mdi-warning {
        color: #ffb300;
        font-size: 26px;
    }
    span {
    }
    .mdi-close {
        font-size: 18px;
    }
}

.top-container header {
    color: #4a4a4a;
    font-size: var(--wizard-step-header-fs);
    font-weight: 900;
    margin-right: 12px;
    padding-top: 9px;
}
