
:root {
    --default-01: #000;
    --default-02: #fff;
    --default-03: #fff;
    --blue-01: #2f3c48;
    --blue-02: #0c1419f2;
    --orange-01: #ff9900;
}

@media (max-width:599px) {
    .size1 {
        font-size: 1rem;
    }

    .size2 {
        font-size: 2rem;
    }

    .size3 {
        font-size: 3rem;
    }

    .size4 {
        font-size: 4rem;
    }

    .size5 {
        font-size: 5rem;
    }
}

@media (min-width:599px) {

    .objectHeaderContainerSW > div > div > div > div {
        border-radius: 1px solid red;
        width: 98% !important;
    }

    .formJustifyContent-spaceBettowenSW > div > div {
        justify-content: space-between;
        display: flex;
    }

        .formJustifyContent-spaceBettowenSW > div > div > section:first-child {
            justify-content: left;
            display: flex;
        }

        .formJustifyContent-spaceBettowenSW > div > div > section:last-child {
            justify-content: right;
            display: flex;
        }
}

.sapSuiteUiCommonsTimeline {
    max-width: none !important;
}

.sapUiFormTitleH6 {
    height: 0px !important;
}

.contractOnePositive {
    color: #00b894 !important;
}

.contractOneNegative {
    color: #d63031 !important;
}

.clickableCell {
    cursor: pointer;
    padding: 8px;
    transition: background-color 0.2s;
}

    .clickableCell:hover {
        background-color: #f0f0f0;
    }

.tableRanges {
    background-color: #607D8B;
    border: #607D8B 1px solid;
}

.tableLevels {
    background-color: #90A4AE;
    border: #90A4AE 1px solid;
}

.tableApprovers {
    background-color: #B0BEC5;
    border: #B0BEC5 1px solid;
}

.responsiveTableLines {
    max-height: calc(100vh - 200px); /* Ajuste o valor 200px conforme necess�rio */
    overflow-y: auto;
}

.responsiveRfqTableLines {
    max-height: calc(100vh - 300px);
    overflow-y: auto;
}

* > .respVerticalSplitter {
    height: 80vh !important;
}

.stickyTable {
    height: 33rem;
    overflow-y: auto;
}

.tableScrollContainer {
    overflow-y: auto;
}

.generalBackground:before {
    content: "";
    position: inherit;
    z-index: -1;
    display: block;
    /*background-image: linear-gradient(var(--blue-01), var(--blue-02)), url("../img/bg-predio.jpg");*/
    background-image: url("../img/background_sap.jpg");
    background-size: cover;
    width: inherit;
    height: inherit;
    overflow: hidden;
}

.loginBG:before {
    content: "";
    position: inherit;
    z-index: -1;
    display: block;
    /*background-image: linear-gradient(var(--blue-01), var(--blue-02)), url("../img/bg-predio.jpg");*/
    background-image: url("../img/background_sap.jpg");
    background-size: cover;
    width: inherit;
    height: inherit;
    overflow: hidden;
}

.loginBG:belize {
    content: "";
    position: inherit;
    z-index: -1;
    display: block;
    /* background-image: linear-gradient(var(--blue-01), var(--blue-02)), url("../img/bg-predio.jpg"); */
    background-image: url("../img/belize.png");
    background-size: cover;
    width: 100%;
    height: inherit;
    overflow: hidden;
}

.bg-master-page {
    /* background-image:linear-gradient(var(--blue-01), var(--blue-02)), url("../img/bg-predio.jpg"); */
    background-image: url("../img/BK_Verde_Colorido_Right_Top.png");
}

.bg-transparent {
    background-color: rgba(255, 255, 255, 0);
}

.bg-white {
    background-color: GhostWhite;
}

.bg-black {
    background-color: Black;
}

.bg-grey {
    background-color: Grey;
}

.bg-golden {
    background-color: GoldenRod;
}

.img-logo-topo {
    margin-left: 1rem !important;
}

div {
    outline: none !important;
}

section {
    outline: none !important;
}

span {
    outline: none !important;
}

.sectionFill {
    min-height: 460px;
}

.custom-control-center-cost-round {
    padding: 1px 2px 1px 1px;
    background: #227093;
    border-radius: 3px;
    display: inline;
    line-height: 1.5em;
    margin-right: 2px;
    color: #FFF;
}

.Login-left {
    height: 20rem;
}

    .Login-left > div {
        width: 190px;
        height: 20rem;
        opacity: 1;
        background-image: linear-gradient(rgba(0, 0, 0, 0.9), rgba(255, 166, 0, 0.5)), url("/img/Login-Left.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        border-radius: 15px 0px 0px 15px;
        box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.4);
    }

.Login-left-black > div {
    width: 190px;
    height: 20rem;
    opacity: 1;
    background-color: Black;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px 0px 0px 15px;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.4);
}

.Login-left-white > div {
    width: 190px;
    height: 20rem;
    opacity: 1;
    background-color: White;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px 0px 0px 15px;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.4);
}

.Login-left-gold > div {
    width: 190px;
    height: 20rem;
    opacity: 1;
    background-color: gold;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px 0px 0px 15px;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.4);
}

.Login-left-darkorange > div {
    width: 190px;
    height: 20rem;
    opacity: 1;
    background-color: darkorange;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px 0px 0px 15px;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.4);
}

.Login-left-indianred > div {
    width: 190px;
    height: 20rem;
    opacity: 1;
    background-color: indianred;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px 0px 0px 15px;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.4);
}

.Login-left-darkmagenta > div {
    width: 190px;
    height: 20rem;
    opacity: 1;
    background-color: darkmagenta;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px 0px 0px 15px;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.4);
}

.Login-left-cornflowerblue > div {
    width: 190px;
    height: 20rem;
    opacity: 1;
    background-color: cornflowerblue;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px 0px 0px 15px;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.4);
}

.Login-left-deepskyblue > div {
    width: 190px;
    height: 20rem;
    opacity: 1;
    background-color: deepskyblue;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px 0px 0px 15px;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.4);
}

.Login-left-darkcyan > div {
    width: 190px;
    height: 20rem;
    opacity: 1;
    background-color: darkcyan;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px 0px 0px 15px;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.4);
}

.Login-left-olivedrab > div {
    width: 190px;
    height: 20rem;
    opacity: 1;
    background-color: olivedrab;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px 0px 0px 15px;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.4);
}

.Login-left-darkslategray > div {
    width: 190px;
    height: 20rem;
    opacity: 1;
    background-color: darkslategray;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px 0px 0px 15px;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.4);
}

.Login-left-azure > div {
    width: 190px;
    height: 20rem;
    opacity: 1;
    background-color: azure;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px 0px 0px 15px;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.4);
}

.Login-left-lightgray > div {
    width: 190px;
    height: 20rem;
    opacity: 1;
    background-color: lightgray;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px 0px 0px 15px;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.4);
}

.Login-left-darkgray > div {
    width: 190px;
    height: 20rem;
    opacity: 1;
    background-color: darkgray;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px 0px 0px 15px;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.4);
}

.Login-left-dimgray > div {
    width: 190px;
    height: 20rem;
    opacity: 1;
    background-color: dimgray;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px 0px 0px 15px;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.4);
}

.iv-custom-login {
    margin-top: 2rem;
    width: 300px;
    min-height: 100px;
    height: 100%;
    opacity: 0.82;
    background: #2f3c48;
    border-radius: 12px 12px 12px 12px;
    float: left;
}

.logoCompany {
    opacity: 1;
    margin-top: 1rem;
    margin-left: 2rem;
}

.logoCompanyTop {
    opacity: 1;
    margin-top: 1rem;
    margin-left: 2rem;
}

.logoCompanyMiddle {
    opacity: 1;
    margin-top: 6.5rem;
    margin-left: 2rem;
}

.logoCompanyBottom {
    opacity: 1;
    margin-top: 10rem;
    margin-left: 2rem;
}

.titleB1Lite {
    font-size: 30px !important;
    font-palette: dark;
    font-weight: bold;
    color: azure !important;
}

.marginTop40 {
    margin-top: 40%;
}

.marginTop10 {
    margin-top: 10%;
}

.tinyMaginBottomB1 {
    margin-bottom: 1rem;
}

.TelaLogin {
    margin-top: 30%;
    min-height: 100px;
    height: 100%;
    opacity: 0.82;
    background: #fff;
    border-radius: 15px;
    float: left;
}

.Login-Panel {
    background-color: #194745;
}

.marginLeftAuto {
    margin-left: auto;
}

.Logo-B-One {
    margin-left: 20.5%;
}

.btn-login {
    background-color: var(--orange-01) !important;
    border-radius: 0.25rem;
    font-weight: 600;
}

    .btn-login > span {
        color: white !important;
    }

.sapMSegBBtn {
    white-space: normal;
    overflow: visible;
    height: auto;
}

.iv-custom-company-list {
    width: 300px;
    min-height: 100px;
    height: auto;
    background: #fff;
    border-radius: 2px;
    margin-top: 10px;
    float: left;
    border-top: 6px solid var(--orange-01);
}

.v-custom-company-list {
    width: 300px;
    min-height: 100px;
    height: auto;
    opacity: 0.82;
    border-radius: 0 2px 2px 0;
    float: left;
    align-content: center;
}

.sapMListTblCell.cellBorderRight {
    border-right: 1px solid lightgray;
}

.sapMListTblCell.cellBorderLeft {
    border-left: 1px solid lightgray;
}

.sapMLIB .sapMListSelectedRow {
    background: #e8e8e8;
}

.sapMListTblCell.cellBorderRight {
    border-right: 1px solid lightgray;
}

.sapMListTblCell.cellBorderLeft {
    border-left: 1px solid lightgray;
}

.tinyBorder {
    border: solid 0.5px #CCC;
}

.maxImageLogoSize {
    max-width: 5rem;
    max-height: 5rem;
}

.size1 {
    font-size: 1.5rem;
}

.size2 {
    font-size: 2.5rem;
}

.size3 {
    font-size: 5rem;
}

.size4 {
    font-size: 7.5rem;
}

.size5 {
    font-size: 10rem;
}

.chatDialogMaximized {
    max-height: 90%;
    max-width: 90%;
    overflow: auto;
    height: 90%;
    width: 90%;
}

.chatDialogNormal {
    overflow: auto;
    height: 260px;
}

.testWidthContainerRed {
    border: 1px solid red;
}

.sapUiMarginRight {
    margin-top: 20px;
    margin-left: 20px;
}

.myBigText {
    font-size: 1.5rem !important;
    font-weight: bold;
}

.myBiggerText {
    font-size: 3rem !important;
    font-weight: bold;
}

.boldText {
    font-weight: bold;
}

.boldText {
    font-weight: 700;
}

.map2BestHeaderBox {
    display: block;
    padding: 0.4rem 0.6rem;
    margin: 0.25rem 0.35rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 215, 0, 0.55);
    background: rgba(255, 215, 0, 0.12);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.08) inset, 0 6px 18px rgba(0, 0, 0, 0.18);
    font-weight: 700;
    line-height: 1.2;
    white-space: pre-line;
}

    .map2BestHeaderBox::before {
        content: "*";
        display: inline-block;
        margin-right: 0.35rem;
        transform: translateY(-1px);
        font-weight: 900;
    }

    .map2BestHeaderBox:hover {
        background: rgba(255, 215, 0, 0.18);
        border-color: rgba(255, 215, 0, 0.75);
    }


/* ========== Agent Chat Overlay ========== */
/* Estilos espec�ficos para o chat overlay - n�o afeta outras p�ginas */

#chatOverlayContainer .agentFab,
.agentFab,
.niaFab {
    position: fixed !important;
    /* posição inicial definida via JavaScript */
    right: 54px;
    bottom: 54px;
    z-index: 9999;
    cursor: grab;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

    .niaFab:hover,
    .agentFab:hover {
        transform: scale(1.1);
    }

#chatOverlayContainer,
.chatOverlayContainer {
    position: fixed !important;
    bottom: 24px;
    right: 24px;
    z-index: 10000;
    pointer-events: none;
    width: 380px;
    height: 520px;
    max-height: calc(100vh - 48px);
}

    #chatOverlayContainer > *,
    .chatOverlayContainer > * {
        pointer-events: auto;
    }

    /* Panel - usa posicionamento relativo para permitir footer absoluto */
    #chatOverlayContainer .chatOverlayPanel,
    .chatOverlayPanel {
        position: relative;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        animation: chatOverlaySlideUp 0.25s ease-out;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
    }

        /* Header - altura fixa no topo */
        #chatOverlayContainer .chatOverlayHeader,
        .chatOverlayPanel > .chatOverlayHeader {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 48px;
            background: linear-gradient(135deg, #0854a0, #1a73e8);
            padding: 10px 14px;
            color: #fff;
            box-sizing: border-box;
            z-index: 2;
        }

        /* Footer - altura fixa no fundo */
        #chatOverlayContainer .chatOverlayFooter,
        .chatOverlayPanel > .chatOverlayFooter {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 60px;
            padding: 8px 10px;
            border-top: 1px solid #e0e0e0;
            background: #fff;
            box-sizing: border-box;
            z-index: 2;
            display: flex;
            align-items: center;
        }

        /* Messages - �rea central com scroll */
        #chatOverlayContainer .chatOverlayMessages,
        .chatOverlayPanel > .chatOverlayMessages {
            position: absolute;
            top: 48px;
            bottom: 60px;
            left: 0;
            right: 0;
            background: #f4f4f8;
            padding: 8px 12px;
            overflow-y: auto;
            overflow-x: hidden;
            box-sizing: border-box;
        }

.chatOverlayHeader .sapMTitle {
    color: #fff !important;
}

.chatOverlayHeader .sapMBtn {
    color: #fff !important;
}

.chatOverlayHeader .sapUiIcon {
    color: #fff !important;
}

.chatOverlayAvatar {
    font-size: 1.4rem;
    color: #fff;
}

.chatOverlayInputField {
    min-width: 0;
    flex: 1;
}

.chatOverlayEmpty {
    text-align: center;
    color: #888;
    padding: 40px 16px;
    font-size: 0.9rem;
}

/* Tablet responsiveness (481px - 768px) */
@media screen and (min-width: 481px) and (max-width: 768px) {
    #chatOverlayContainer,
    .chatOverlayContainer {
        bottom: 16px;
        right: 16px;
        width: 360px;
        height: 480px;
        max-height: calc(100vh - 32px);
    }
}

/* Mobile responsiveness - Portrait (max-width: 480px) */
@media screen and (max-width: 480px) {
    #chatOverlayContainer,
    .chatOverlayContainer {
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

        #chatOverlayContainer .chatOverlayPanel,
        .chatOverlayPanel {
            border-radius: 0 !important;
        }

            #chatOverlayContainer .chatOverlayFooter,
            .chatOverlayPanel > .chatOverlayFooter {
                padding-bottom: max(8px, env(safe-area-inset-bottom)) !important;
                height: auto;
                min-height: 60px;
            }

    .chatBubbleMe,
    .chatBubble{
        max-width: 85%;
    }

   
}

/* Mobile responsiveness - Landscape */
@media screen and (max-height: 500px) and (orientation: landscape) {
    #chatOverlayContainer,
    .chatOverlayContainer {
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
    }

        #chatOverlayContainer .chatOverlayPanel,
        .chatOverlayPanel {
            border-radius: 0 !important;
        }

            #chatOverlayContainer .chatOverlayHeader,
            .chatOverlayPanel > .chatOverlayHeader {
                height: 40px;
                padding: 6px 14px;
            }

            #chatOverlayContainer .chatOverlayFooter,
            .chatOverlayPanel > .chatOverlayFooter {
                height: 50px;
                padding: 6px 12px;
            }

            #chatOverlayContainer .chatOverlayMessages,
            .chatOverlayPanel > .chatOverlayMessages {
                top: 40px;
                bottom: 50px;
            }

    
}

@keyframes chatOverlaySlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chat bubbles */
.chatBubbleRowMe {
    display: flex;
    justify-content: flex-end;
    margin: 4px 0;
    padding-right: 4px;
    box-sizing: border-box;
}

.chatBubbleRow {
    display: flex;
    justify-content: flex-start;
    margin: 4px 0;
    padding-left: 4px;
    box-sizing: border-box;
}

.chatBubbleMe {
    background: #0854a0;
    color: #fff;
    border-radius: 12px 12px 2px 12px;
    padding: 8px 12px;
    max-width: 80%;
    word-wrap: break-word;
    word-break: break-word;
    box-sizing: border-box;
}

.chatBubble {
    background: #fff;
    color: #333;
    border-radius: 12px 12px 12px 2px;
    padding: 8px 12px;
    max-width: 80%;
    word-wrap: break-word;
    word-break: break-word;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.chatBubbleSender {
    font-size: 0.75rem;
    font-weight: 600;
    color: #0854a0;
    margin-bottom: 2px;
}

.chatBubbleText {
    font-size: 0.875rem;
    line-height: 1.4;
    white-space: pre-wrap;
}

.chatBubbleTime {
    font-size: 0.7rem;
    color: rgba(0,0,0,0.4);
    margin-top: 4px;
    text-align: right;
}

.chatBubbleMe .chatBubbleTime {
    color: rgba(255,255,255,0.7);
}