.OFF     { color: #aca7b0; }
.OK      { color: #67e063; }
.RINGIN  { color: #f2f25a; }
.RINGOUT { color: #f2bc3f; }
.BUSY    { color: #f25641; }
.INUSE   { color: #f25641; }
.BLACK   { color: #000000; }

/* BACKGROUNDS */
    .bg-d9534f { background: #d9534f !important; }
    .bg-f0ad4e { background: #f0ad4e !important; }
    .bg-dbcb14 { background: #dbcb14 !important; }
    .bg-5bc0de { background: #5bc0de !important; }
    .bg-5cb85c { background: #5cb85c !important; }
    .bg-428bca { background: #428bca !important; }
    .bg-cccccc { background: #cccccc !important; }
    .bg-1cc88a { background: #1cc88a !important; }
    .b1cc88a { background: #1cc88a !important;}
    .b28a745 { background: #28a745 !important;}
    .b17a2b8 { background: #17a2b8 !important;}
    .bdc3545 { background: #dc3545 !important;}
    .b4e73df { background: #4e73df !important;}
    .b888888 { background: #888888 !important;}

    .bg-default { background: #cccccc !important; }
    .bg-success { background: #5cb85c !important; }

    /* PERSONALIZADOS */
        .backOFF { background-color: #807e7e !important; opacity: 0.9 !important; }
        .backBUSY { background: #d04149 !important; opacity: 0.9 !important; }
        .backOK { background: #1cc88a !important; opacity: 0.9 !important; }
        .backRINGOUT { background: #e36f10 !important; opacity: 0.9 !important; }
        .backHeader { color: #fff; background: rgb(78, 115, 223); font-weight: bold; }

/* BORDERS */
    /* BOTTOM */
        .bb-5 { border-bottom: 5px solid #e3e6f0; }
        .bb-4 { border-bottom: 4px solid #e3e6f0; }
        .bb-3 { border-bottom: 3px solid #e3e6f0; }
        .bb-2 { border-bottom: 2px solid #e3e6f0; }
        .bb-1 { border-bottom: 1px solid #e3e6f0; }
        .bb-0 { border-bottom: none; }

    /* LEFT */
        .bl-5 { border-bottom: 5px solid #e3e6f0; }
        .bl-4 { border-bottom: 4px solid #e3e6f0; }
        .bl-3 { border-bottom: 3px solid #e3e6f0; }
        .bl-2 { border-bottom: 2px solid #e3e6f0; }
        .bl-1 { border-bottom: 1px solid #e3e6f0; }
        .bb-0 { border-bottom: none; }

    /* TOP */
        .bt-0 { border-top: none !important; }

    /* RIGHT */

/* COLORS */
    .c-white { color: white !important; }
    .c-ff6384 { color: #ff6384 !important; }
    .c-36a2eb { color: #36a2eb !important; }
    .c-ffce56 { color: #ffce56 !important; }
    .c-4bc0c0 { color: #4bc0c0 !important; }
    .c-9966ff { color: #9966ff !important; }
    .c-ff9f40 { color: #ff9f40 !important; }
    .c-1cc88a { color: #1cc88a !important; }
    .c-db3740 { color: #db3740 !important; }
    .c-4e73df { color: #4e73df !important; }

/* FLOAT */
    .float-r { float: right; }

/* FONT SIZE */
    .fs-30 { font-size: 30px !important; }
    .fs-25 { font-size: 25px !important; }
    .fs-20 { font-size: 20px !important; }
    .fs-19 { font-size: 19px !important; }
    .fs-18 { font-size: 18px !important; }
    .fs-17 { font-size: 17px !important; }
    .fs-16 { font-size: 16px !important; }
    .fs-15 { font-size: 15px !important; }
    .fs-14 { font-size: 14px !important; }
    .fs-13 { font-size: 13px !important; }
    .fs-12 { font-size: 12px !important; }
    .fs-11 { font-size: 11px !important; }
    .fs-10 { font-size: 10px !important; }

/* HEIGHTS */
    .h-550 { height: 550px !important; }
    .h-300 { height: 300px !important; }
    .h-25p { height: 25px !important; }
    .h-15p { height: 15px !important; }

    /* MAX-HEIGHT */
    .maxh-550 { max-height: 550px !important; }


/* OVERFLOWS */
    .overy-auto { overflow-y: auto !important; }

/* TOGGLE */
    .toggle-btn {
        background: #888888;
        color: white;
        padding: 0.43rem 0.7rem;
        cursor: pointer;
        border-radius: 0.2rem;
    }

/* WIDTHS */
    .w-200 { width: 200% !important; }
    .w-190 { width: 190% !important; }
    .w-180 { width: 180% !important; }
    .w-170 { width: 170% !important; }
    .w-160 { width: 160% !important; }
    .w-150 { width: 150% !important; }
    .w-140 { width: 140% !important; }
    .w-130 { width: 130% !important; }
    .w-120 { width: 120% !important; }
    .w-110 { width: 110% !important; }
    .w-99 { width: 99% !important; }
    .w-90 { width: 90% !important; }
    .w-95 { width: 95% !important; }
    .w-85 { width: 85% !important; }
    .w-84 { width: 84% !important; }
    .w-83 { width: 83% !important; }
    .w-80 { width: 80% !important; }
    .w-70 { width: 70% !important; }
    .w-66 { width: 66% !important; }
    .w-65 { width: 65% !important; }
    .w-64 { width: 64% !important; }
    .w-63 { width: 63% !important; }
    .w-60 { width: 60% !important; }
    .w-52 { width: 52% !important; }
    .w-49 { width: 49% !important; }
    .w-48 { width: 48% !important; }
    .w-45 { width: 45% !important; }
    .w-40 { width: 40% !important; }
    .w-37 { width: 37% !important; }
    .w-35 { width: 35% !important; }
    .w-34 { width: 34% !important; }
    .w-33 { width: 33% !important; }
    .w-32 { width: 32% !important; }
    .w-30 { width: 30% !important; }
    .w-29 { width: 29% !important; }
    .w-28 { width: 28% !important; }
    .w-27 { width: 27% !important; }
    .w-26 { width: 26% !important; }
    .w-25 { width: 25% !important; }
    .w-24 { width: 24% !important; }
    .w-23 { width: 23% !important; }
    .w-22 { width: 22% !important; }
    .w-21 { width: 21% !important; }
    .w-20 { width: 20% !important; }
    .w-19 { width: 19% !important; }
    .w-18 { width: 18% !important; }
    .w-17 { width: 17% !important; }
    .w-15 { width: 15% !important; }
    .w-14 { width: 14% !important; }
    .w-13 { width: 13% !important; }
    .w-12 { width: 12% !important; }
    .w-11 { width: 11% !important; }
    .w-10 { width: 10% !important; }
    .w-9 { width: 9% !important; }
    .w-8 { width: 8% !important; }
    .w-7 { width: 7% !important; }
    .w-6 { width: 6% !important; }
    .w-5 { width: 5% !important; }
    .w-4 { width: 4% !important; }
    .w-3 { width: 5% !important; }
    .w-2 { width: 2% !important; }
    .w-1 { width: 1% !important; }

/* Z-index */
    .zindex-20 { z-index: 2000 !important; }
    .zindex-21 { z-index: 2100 !important; }

.custom-file-input ~ .custom-file-label::after {
    content: "Navegar";
}

.custom-load {
    background: #000;
    opacity: 0.8;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 99999;
}

.center-fixed {
    position: fixed;
    top : 50%;
    left : 50%;
}

.block {
    pointer-events: none;
    opacity: 0.5;
}

.link-disable {
    pointer-events: none !important;
    opacity: 0.5 !important;
}

.pointerN { pointer-events: none; }

.hide { display: none !important; }

.navbar-color-custom {
    background-color: #4e73df;
    background-position: center;
    background-size: cover;
}

.bold-none {  font-weight: normal !important; }

.console {
    position: relative;
    width: 98%;
    height: 500px;
    background-color: #000000;
    color : #FFFFFF;
    font: 12px/18px "Lucida Console";
    padding: 5px;
    overflow: auto;  
    border-radius: 4px;
    box-shadow: 0px 1px 2px 2px #DDDDDD;
    text-align:left; /* "rem�dio" para o hack do IE */
    font-weight: bold;
}

.ipt-console {
    width: 87% !important;
    height: 20px !important;
    border-radius: 0px !important;
    background: #000000 !important;
    border-color: #000 !important;
    color: #FFFFFF !important;
    padding: 2px !important;
    font: 12px/18px "Lucida Console";
}

.ipt-console:focus{
    outline: 0 !important;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0), 0 0 8px rgba(102, 175, 233, 0) !important;
}

.clearfix {
    overflow: auto;
}

.clearfix::after {
    display: table !important;
    content: "" !important;
    clear: both !important;
}

.footer-custom {
    align-items: center;
    margin-top: auto; 
    background-color: rgba(33, 40, 50, 0.05); 
    padding: 0.75rem; 
    font-size : 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pad2 { padding: 2px !important;}

.form-control-line {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #9b9b9b;
    outline: 0;
    color: #9b9b9b;
    padding: 2px 0;
    background: transparent;
    transition: border-color 0.2s;
  
}

.form-control-line::placeholder {
    font-weight: 200;
    font-style: italic;
}

.form-control-line:focus {
    transition: 0.2s;
    border-width: 3px;
    color : #4e73df !important;
    border-image: linear-gradient(to right, #a5b3f3,#4e73df);
    border-image-slice: 1;
}

.form-control-line:focus::placeholder {
    color : #4e73df !important;
}

.form-control-line.is-invalid {
    color : #eb441a;
    border-bottom: 1px solid #eb441a;
}

.form-control-line.is-invalid::placeholder {
    color : #eb441a;
}

.link {
    cursor: pointer;
}

.readonly {
    background: #eee !important;
    opacity: 0.6 !important;
    pointer-events: none !important;
    touch-action: none !important;
}

.custom-dropdown {
    position: fixed !important; 
    z-index: 1000 !important;
}

.footer-content {
    min-width : 0; 
    position : absolute; 
    bottom: 0px; 
    width  : 100%;
}

/* TOP POSITION */

.top-10 {
    top : 10% !important;
}

.top-15 {
    top : 15% !important;
}

.top-20 {
    top : 20% !important;
}

.chat-input-bar {
    background-color: #ffffff;
    border-radius: 30px;
    padding: 10px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.chat-input-bar textarea {
    border: none;
    outline: none;
    resize: none;
    background: transparent;
    flex-grow: 1;
    padding: 0 10px;
    font-size: 1rem;
    overflow-y: auto;
}

.message-box {
    max-height: 30vh;
    overflow-y: auto;
}

.load-image {
    width: 300px;
    height: 200px;
    background-color: #ddd;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.load-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        #dddddd 0%,
        #e8e8e8 50%,
        #dddddd 100%
    );
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.fade-blink {
    animation: fadeBlink 1.5s infinite;
}

@keyframes fadeBlink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}

.shake {
    display: inline-block;
    animation: shake 1.0s infinite cubic-bezier(.36,.07,.19,.97) both;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}
  
@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }
    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }
    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }
    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}

.beat {
    display: inline-block;
    animation: beat 1.5s infinite;
    transform-origin: center;
}
  
@keyframes beat {
    0% {
        transform: scale(0.9);
    }
    50% {
        transform: scale(1.0);
    }
    70%, 100% {
        transform: scale(0.9);
    }
}

.word-break {
    word-break: break-word;
    word-wrap: break-word;
}

.hover {
    cursor: pointer;
    transition: background-color 0.3s;
}

.hover:hover {
    background-color: #f2f6fc !important;
}

.img-blur {
    filter: blur(2px);
    object-fit: cover;
    background-color: #ccc;
}

.cursor-move {
    cursor: move;
}

.card-docked.minimized .card-body,
.card-docked.minimized .card-footer {
    display: none;
}

.card-docked.minimized {
    max-width: 20% !important;
}

.card-docked.minimized {
    height: auto;
}

.nav-logo {
    height: auto !important;
    max-height: 50px !important;
    width: 100% !important;
    object-fit: contain !important;
}

.login-container {
    min-height: 100vh;
    height: 100vh;
    padding: 0;
    margin: 0;
}

.login-card {
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    max-width: 100% !important;
    width: 100% !important;
    height: 100vh;
}

.login-content {
    height: 100vh !important;
}

.login-brand-side {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-form-side {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

.login-form-box {
    width: 100%;
    max-width: 500px;
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 0 40px rgba(0,0,0,0.1);
}

/* Footer no layout full-screen */
.footer-content {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: transparent;
    padding: 1rem 0;
}

/* Responsive - oculta lado esquerdo em telas menores */
@media (max-width: 768px) {
    .login-brand-side {
        display: none !important;
    }
    
    .login-form-side {
        width: 100% !important;
        background: #f8f9fc;
    }
    
    .login-form-box {
        background: white;
        border-radius: 1rem;
        padding: 2.5rem;
        box-shadow: 0 0 40px rgba(0,0,0,0.1);
    }
    
    .footer-content {
        background: rgba(248, 249, 252, 0.95);
    }
}

.login-bg {
    background-image: url("/assets/img/login_bg_black.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-blur {
    filter: blur(8px);
    transition: filter 0.5s ease-in-out;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.page-blur::before {
    content: "";
    position: absolute;
    top: 0;
}
  