/* Contenedor del spinner */
.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px; /* Ajusta según el tamaño de la imagen */
}

/* Spinner CSS */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ccc;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Ocultar imagen hasta que cargue */
.hidden {
    display: none;
}

table td, table th {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#empresasDropdown {
    max-height: 300px; /* o la altura que prefieras */
    overflow-y: auto;
}

/* contador de caracteres para input textarea ervin santos 07012025 */
.btnCharInput {
    border-radius: 10rem;
    font-size: 12px;
    margin-top: -30px;
    margin-right: 25px;
    min-width: 25px;
    padding: 3px 5px;
    position: absolute;
    right: 0;
}

.btnCharInput-full {
    background-color: #89b7e3 !important;
    border: 1px solid #89b7e3 !important;
    color: #fff !important;
}

.btnCharInput-medium {
    background-color: #ffdd73 !important;
    border: 1px solid #ffdd73 !important;
    color: #856404 !important;
}

.btnCharInput-low {
    background-color: #f8d7da !important;
    border: 1px solid #f8d7da !important;
    color: #721c24 !important;
}

.countChar {
    background-color: #4b5c90;
    border-radius: 3px;
    color: #fff;
    padding: 3px 10px;
    width: max-content;
}

    .countChar label {
        margin-bottom: unset !important;
        margin-right: 20px;
    }

        .countChar label:last-child {
            background-color: #5ea8ef;
            border-radius: 0 3px 3px 0;
            color: #f8f9fa;
            font-style: inherit;
            height: 24px;
            line-height: 25px;
            margin-right: unset;
            margin-left: -10px;
            margin-top: -3px;
            position: absolute;
            text-align: center;
            vertical-align: middle;
            width: 25px;
        }

