@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap');

:root {
    --bi-black-color: #2D2E2D;
    --bi-orange-color: #F58220;
    --bi-purple-color: #66297C;
    --bi-bg-color: #f5f5f5;
    --bi-card-color: #fff;
    --bi-box-shadow: 0 0 24px #f582203d;
}

.turbo-progress-bar {
    background: var(--bi-orange-color) !important;
}

body {
    font-family: "IBM Plex Sans", sans-serif !important;
}

.content-header {
    padding: 0 !important;
    padding-bottom: 35px !important;
}

.btn-orange {
    background: var(--bi-orange-color);
    color: #fff;
    padding: 6px 20px !important;
    display: flex;
    justify-content: center;
    gap: 10px;
    transition: all ease 0.3s;
    align-items: center;
}

.btn-orange:hover {
    background: var(--bi-purple-color);
    color: #fff !important;
}

.btn-orange:active {
    background: #66297c96 !important;
    color: #fff !important;
    box-shadow: none !important;
}

.content-search-reset {
    display: contents !important;
}

a.action-batchDelete {
    font-size: 10px !important;
    border-radius: 2px !important;
    text-transform: uppercase !important;
    margin-right: 10px !important;
}

.pagination li a {
    font-size: 12px;
    border-radius: 2px;
}

.pagination li a i {
    font-size: 20px;
}

.pagination .page-item .page-link {
    border-radius: 4px;
    color: #333;
}

.pagination .page-item.active .page-link {
    background-color: var(--bi-orange-color);
    border-color: var(--bi-orange-color);
    color: #fff;

}

.pagination .page-item.disabled .page-link {
    background-color: #eee;
    color: #999;
}

.bg-orange {
    background: var(--bi-orange-color) !important;
    color: #fff !important;
}

/* Botão Principal com Gradiente Animado */
.btn-nita {
    background: linear-gradient(-45deg, #e73c7e, #7a23d5, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: nitaGradient 10s ease infinite;
    color: white !important;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(122, 35, 213, 0.4);
    transition: all 0.3s;
}

.btn-nita:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(35, 166, 213, 0.6);
}

/* Modal Customizado */
.nita-modal-custom {
    background: rgba(20, 20, 30, 0.85) !important;
    backdrop-filter: blur(15px);
    /* Efeito Vidro */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px !important;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(122, 35, 213, 0.2);
}

/* Área Interna do Modal */
.nita-glass-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nita-textarea {
    background: transparent !important;
    border: none !important;
    color: white !important;
    font-size: 1.2rem !important;
    resize: none;
    padding: 0;
}

.nita-textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Badge e Botão de Envio */
.nita-badge {
    background: linear-gradient(90deg, #e73c7e, #7a23d5);
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    margin-right: 10px;
    letter-spacing: 1px;
}

.btn-nita-submit {
    background: white;
    color: #14141e;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-nita-submit:hover {
    background: #7a23d5;
    color: white;
}

/* Pequeno visualizador de "ondas de voz/ia" */
.nita-visualizer {
    display: none;
    /* Hidden by default, shown via JS */
    gap: 4px;
    height: 15px;
    align-items: center;
}

.nita-visualizer.active {
    display: flex !important;
}

.nita-visualizer span {
    width: 3px;
    height: 100%;
    background: #23a6d5;
    animation: nitaWave 1.2s infinite ease-in-out;
}

.nita-visualizer span:nth-child(2) {
    animation-delay: 0.2s;
    background: #7a23d5;
}

.nita-visualizer span:nth-child(3) {
    animation-delay: 0.4s;
    background: #e73c7e;
}

.nita-visualizer span:nth-child(4) {
    animation-delay: 0.6s;
    background: #23d5ab;
}

@keyframes nitaWave {

    0%,
    100% {
        height: 4px;
    }

    50% {
        height: 15px;
    }
}

@keyframes nitaGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.ai-pulse {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    box-shadow: 0 0 8px white;
    animation: nitaPulse 2s infinite;
}

@keyframes nitaPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#nita-prompt,
#nita-prompt:focus {
    border: 1px solid #9ca3af !important;
    color: black !important;
    box-shadow: none !important;
}