﻿
/*Custom*/

.btn-hr {
    color: #fff !important;
    background-color: #2C84DD !important;
    border-color: #2875c3 !important;
}

    .btn-hr:hover,
    .btn-hr:focus,
    .btn-hr:active {
        color: #fff !important;
        background-color: #1F6CB1 !important; /* Ajuste para uma cor mais clara ou a mesma cor */
        border-color: #185A97 !important;
    }

.btn-cancel {
    border: 1px solid #ccd2da;
    background-color: #fff;
}

    .btn-cancel:hover,
    .btn-cancel:focus,
    .btn-cancel:active {
        border: 1px solid #ccd2da;
        background-color: #fff;
    }

.btn-white {
    border: 1px solid #ccd2da;
    background-color: #fff;
}

    .btn-white:hover, .btn-white:focus {
        border-color: #bdc5cf;
        background-color: #f8f9fc;
    }

.btn-save {
    color: #fff;
    background-color: #2C84DD !important;
    border-color: #2C84DD !important;
}

    .btn-save:hover,
    .btn-save:focus,
    .btn-save:active {
        color: #fff !important;
        background-color: #2C84DD !important; /* Ajuste para uma cor mais clara ou a mesma cor */
        border-color: #2875c3 !important;
    }


.bg-hr {
    background-color: #2C84DD !important;
}

.text-hr {
    color: #2C84DD !important;
}

.table tbody td {
    vertical-align: middle !important;
    border-color: #f3f5f9 !important;
}

.bg-whatsapp {
    background-color: #37BD4A !important;
}

.bg-telegram {
    background-color: #1E96C8 !important;
}

.bg-openIA {
    background-color: #fff !important;
}





@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



.card-file .card-file-icon.hr {
    color: #2C84DD !important;
    background-color: rgba(80,111,217,.08);
}

.accordion-button:not(.collapsed) {
    background-color: none !important;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: none !important;
    background-color: none !important;
    box-shadow: none !important;
}


.whatsapp-background {
    background-color: #e5ddd5;
    box-sizing: border-box;
    position: relative;
}

    .whatsapp-background::before {
        background: url('../img/Chatbot/whatsappbackground.png');
        background-size: 366.5px 666px;
        content: '';
        height: 100%;
        left: 0;
        opacity: .06;
        position: absolute;
        top: 0;
        width: 100%;
        z-index: 0;
    }


.sortable-ghost {
    opacity: 0.6;
    background-color: #f0f0f0;
}


.avatar {
    position: relative;
    width: 50px; /* Ajuste conforme necessário */
    height: 50px; /* Ajuste conforme necessário */
    border-radius: 50%;
    overflow: hidden;
}

    .avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

.avatar-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 13px;
    color: white;
    text-transform: uppercase;
    pointer-events: none; /* Impede a interação com o texto */
}

.bold {
    font-weight: bold;
}


/* Desativa a sidebar inteira */
.sidebar-disabled {
    pointer-events: none;
    opacity: .9;
    cursor: not-allowed;
}


.main-border {
    border: solid #ded8d8 1px;
}

/*tree view dataset*/
.treeview ul {
    list-style: none;
    padding-left: 20px;
    margin: 0;
}

.treeview li {
    margin: 4px 0;
    user-select: none;
    text-align: left;
}

.header-div {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.toggle-icon {
    margin-right: 4px;
    cursor: pointer;
}

.drag-icon {
    margin-right: 4px;
    cursor: move;
    color: #888;
}

.field-icon {
    margin-right: 4px;
}


.box {
    background: #ffffff;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
}

#SQLEditor {
    height: 150px;
    border: 1px solid #e0e0e0;
}

.tableItem {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: .9rem;
    max-width: 200px;
    text-overflow: ellipsis;
    /* Required for text-overflow to do anything */
    white-space: nowrap;
    overflow: hidden;
}

.tableTitle {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: .9rem;
    font-weight: 700;
    padding: 2px;
    background-color: #f3f3f3
}


/*resize dataset*/
.resizer {
    width: 5px;
    cursor: col-resize;
    background-color: #ccc;
    position: relative;
    z-index: 10;
}

    .resizer:hover {
        background-color: #888;
    }

.resizable {
    overflow: hidden;
    white-space: nowrap;
}

.shadow-custom {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2) !important;
    border-radius: 10px; /* Se quiser bordas arredondadas */
}

.text-danger ul {
    list-style: none; /* Remove os marcadores de lista */
    padding-left: 0; /* Remove o recuo padrão */
}

.text-danger li {
    font-weight: bold; /* Deixa o texto em negrito */
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1); /* Branco com leve transparência */
    backdrop-filter: blur(1px); /* Efeito de desfoque (vidro fosco) */
    -webkit-backdrop-filter: blur(1px); /* Para compatibilidade com Safari */
    z-index: 9998; /* Um nível abaixo do loader */
    display: none;
}

.loader {
    /*border-radius:50%;*/
    z-index: 99999999;
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: 400px;
    top: 0px;
    /*background-color:white;*/
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bubble {
    position: absolute;
    background-color: #2C84DD;
    border-radius: 50%;
    animation: pulse 1.2s infinite ease-in-out;
    /*    animation: none;
    transition: none;
*/
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.5);
    }
}


.loading {
    border: 16px solid #ded8d8; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    text-align: center;
    animation: spin 1s linear infinite;
    z-index: 99999999;
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: 300px;
    top: 0px;
}

loading2 {
    border: 16px solid #ded8d8; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    text-align: center;
    animation: spin 1s linear infinite;
    z-index: 99999999;
    position: fixed;
}
