


.preloader {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999999;
    width: 100%;
    height: 100%;
    background-color: #fff;
    overflow: hidden;
}

.preloader-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.preloader-icon {
    width: 100px;
    height: 100px;
    display: inline-block;
    padding: 0px;
}

    .preloader-icon span {
        position: absolute;
        display: inline-block;
        width: 100px;
        height: 100px;
        border-radius: 100%;
        background: #FF0076;
        -webkit-animation: preloader-fx 1.6s linear infinite;
        animation: preloader-fx 1.6s linear infinite;
    }

        .preloader-icon span:last-child {
            animation-delay: -0.8s;
            -webkit-animation-delay: -0.8s;
        }



.preloader-load {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999999;
    width: 100%;
    height: 100%;
    background-color: #fff;
    overflow: hidden;
    background-color: rgba(0,0,0,.4);
}

.preloader-load-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.preloader-load-icon {
    /*width: 100px;
    height: 100px;*/
    display: inline-block;
    padding: 0px;
}

    .preloader-load-icon span {
        position: absolute;
        display: inline-block;
        width: 100px;
        height: 100px;
        border-radius: 100%;
        background: #FF0076;
        -webkit-animation: preloader-fx 1.6s linear infinite;
        animation: preloader-fx 1.6s linear infinite;
    }

        .preloader-load-icon span:last-child {
            animation-delay: -0.8s;
            -webkit-animation-delay: -0.8s;
        }

fs-100 {
    font-size: 100px;
}

.fs-100-alerta {
    color: #f7b84b;
    font-size: 100px;
}

.fs-100-erro {
    color: #f06548;
    font-size: 100px;
}

.fs-100-sucesso {
    color: #0ab39c;
    font-size: 100px;
}

#divModal-Titulo {
    font-size: 25px;
    font-weight: bold;
}

.preview-panel {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
    box-shadow: 0 4px 18px 0 rgba(0, 0, 0, .1);
    padding: 5px;
    padding-left: 20px;
}

    .preview-panel > *:first-child {
        /*width: 96px;
        height: 96px;*/
    }

    .preview-panel > *:last-child {
        flex: 2;
    }

.btn-modal-close {
    margin-top: 10px;
    margin-left: 10px;
    border: solid 1px silver;
}

#divModal .modal-footer {
    justify-content: space-around !important;
}
.background-avatar-texto {
    background-color:white !important;
}

#divNenhumRegistro {
    display: none;
    margin-top: -16px;
}

.btn-menu-acao {
    font-size: 25px;
    cursor: pointer;
    margin-left: 5px;
    margin-right: 5px;
}

.icon-informacao {    
    margin-left: 10px;
    margin-top:8px;
    font-size: 23px;    
    color: cornflowerblue;    
    top:0px;
}

.icon-informacao-d-flex {
    font-size: 23px;
    color: cornflowerblue;
    margin-top: -12px;
    margin-left: 12px;
}

.ht-100{
    height:100px !important;
}

.ht-50 {
    height: 50px !important;
}
.card-h-emp{
    height:85%;
}
.btn-add-telefone {
    margin-left: -30px;
    margin-top: 3px;
}

.pointer{
    cursor:pointer;
}
.color-white{
    color:white !important;
}

.img-qr-code{
    max-width:300px;
    max-height:300px;
}

.div-item-minha-conta {
    padding: 10px;
    border: solid 1px #ced4da;
    border-radius: 5px;
    height: 100%;
}

    .div-item-minha-conta:hover {
        background-color: #ced4da;
        cursor: pointer;
    }

    .div-item-minha-conta .avatar-title {
        background-color: transparent !important;
    }


        .div-item-minha-conta .avatar-title i {
            color: black;
            font-size: 30px;
        }

.btn-icon-menu-status {    
    cursor: pointer;
    margin-left: 5px;
    margin-right: 5px;
}

.label-status{
    min-width:200px;
}

.label-status-cobranca {
    width: 130px;
}

.label-importacao{
    margin-bottom:0px !important;
}

/* Estilos para o Chat em Tempo Real */
#divChatMensagens {
    scrollbar-width: thin;
    scrollbar-color: #888 #f5f5f5;
}

#divChatMensagens::-webkit-scrollbar {
    width: 8px;
}

#divChatMensagens::-webkit-scrollbar-track {
    background: #f5f5f5;
}

#divChatMensagens::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

#divChatMensagens::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.mensagem-chat {
    animation: fadeInMessage 0.3s ease-in;
}

@keyframes fadeInMessage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mensagem-chat .badge {
    font-size: 0.7rem;
    padding: 0.25em 0.5em;
}

.mensagem-chat .rounded {
    border-radius: 0.5rem !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Dashboard Responsive Styles */
.card-body {
    overflow: hidden;
}

.card-body .d-flex {
    flex-wrap: nowrap;
}

@media (max-width: 575.98px) {
    .cfs-22 {
        font-size: 1.25rem !important;
    }

    .card-body {
        padding: 1rem;
    }

    .avatar-sm {
        width: 2.5rem;
        height: 2.5rem;
    }

    .avatar-sm .avatar-title {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem !important;
    }

    .fs-12 {
        font-size: 0.7rem !important;
    }

    .text-muted.small {
        font-size: 0.75rem;
        line-height: 1.3;
    }
}

@media (max-width: 767.98px) {
    .card-title {
        font-size: 0.95rem;
    }

    .apex-charts {
        max-height: 300px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .cfs-22 {
        font-size: 1.35rem !important;
    }
}

/* Prevent text overflow in all screen sizes */
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.overflow-hidden {
    overflow: hidden;
}

/* Ensure cards maintain proper height */
.card.h-100 {
    min-height: 100%;
}

/* Responsive table wrapper */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.btn-desativado {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}

/* Estilos para árvore de permissões */
#divPermissoes .form-check {
    padding-left: 2rem;
    transition: background-color 0.2s ease;
}

#divPermissoes .form-check:hover {
    background-color: #f8f9fa;
    border-radius: 4px;
}

#divPermissoes .form-check-input {
    cursor: pointer;
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.15em;
}

#divPermissoes .form-check-label {
    cursor: pointer;
    user-select: none;
    padding-left: 0.5rem;
}

#divPermissoes .form-check-label.fw-bold {
    font-size: 1.05rem;
}

#divPermissoes hr {
    margin: 0.75rem 0;
    opacity: 0.2;
}

.modal-xl .card {
    border: 1px solid #e9ecef;
}

.modal-xl .card-body {
    padding: 1.25rem;
    background-color: #fafbfc;
}
