.c-pointer {
    cursor: pointer;
}

.c-default {
    cursor: default;
}

.highlighted {
    background-color: rgb(239, 204, 3);
    border-radius: 2px;
}

.bg-red-subtle {
    background-color: #ff8888;
}

.bg-blue-subtle {
    background-color: #599df7;
}

@keyframes not-found-animation {
    0% {
        transform: rotate(90deg);
    }
    50% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(90deg);
    }
}

.not-found-icon {
    transform: rotate(90deg);
    animation: not-found-animation 7s ease infinite;
}

.hideOnEmpty:empty {
    display: none !important;
}

textarea {
    resize: none;
}

.row-bg {
    background-color: #fff0c3 !important;
    border-color: #ffc107 !important;

}

.divideSegment:hover {
    background-color: var(--bs-danger-bg-subtle) !important;
    color: var(--bs-danger) !important;
}

.createSegment:hover {
    background-color: var(--bs-success-bg-subtle) !important;
    color: var(--bs-success) !important;
}

.selectable-checkbox {
    appearance: none; /* Oculta la apariencia por defecto */
    -webkit-appearance: none; /* Para navegadores WebKit */
    -moz-appearance: none; /* Para Firefox */

    width: 1.5rem;
    height: 1.58rem;
    border: .05rem solid #616161; /* Personaliza el borde */
    border-radius: .35rem; /* Bordes redondeados */
    background-color: #E0E0E0; /* Color de fondo cuando no está marcado */
    position: relative;
    cursor: pointer;
}

.selectable-checkbox:hover {

    background-color: #ffc107; /* Fondo cuando está marcado */
    border-color: #454545;
    content: "✓" !important; /* Representa el tick */
    color: #454545; /* Color del tick */
    font-size: 1.2rem;

    display: flex;

}

/* Estilo cuando está marcado */
.selectable-checkbox:checked {
    background-color: #ffc107; /* Fondo cuando está marcado */
    border-color: #454545; /* Color del borde cuando está marcado */
}

/* Muestra el tick (✓) al estar marcado */
.selectable-checkbox:checked::after {
    content: "✓"; /* Representa el tick */
    color: #000; /* Color del tick */
    font-size: 1.2rem; /* Tamaño del tick */
    font-weight: bold;

    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.selectable-checkbox:after {
    content: "✓"; /* Representa el tick */
    color: #333333; /* Color del tick */
    font-size: 1.2rem; /* Tamaño del tick */
    font-weight: bold;

    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;

}

.selectable-checkbox:hover:after {
    opacity: 1; /* Mostrar el tick cuando se hace hover */
}

.selectable-lable {
    background-color: #E0E0E0 !important; /* Fondo cuando está marcado */
    font-weight: normal;
    color: #333333 !important;
    border: .05rem solid #616161 !important;
    border-radius: .35rem !important;
}

.selectable-lable:hover {
    background-color: #ffc107 !important; /* Fondo cuando está marcado */
    border: .05rem solid #454545 !important; /* Personaliza el borde */
    color: #333333 !important; /* Color del tick */
    font-weight: bolder;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    20%, 60% {
        transform: translateX(-5px);
    }
    40%, 80% {
        transform: translateX(5px);
    }
}

.shake {
    animation: shake 0.3s ease; /* Ajusta la duración de la animación según prefieras */
}

.disabled-span {
    cursor: not-allowed;
    opacity: 0.6;
    background-color: #e1e1e1 !important;
    color: #333 !important;

}

#custom-tooltip {
    display: none;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 4px;
    font-size: 0.9rem;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: fadeIn 0.2s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.custom-edit-btn {
    --bs-btn-bg: #E0E0E0 !important;
    --bs-btn-color: #333333 !important;
    --bs-btn-border-color: #616161 !important;
    --bs-btn-hover-color: #333333 !important;
    --bs-btn-hover-bg: #ffc107 !important;
    --bs-btn-hover-border-color: #616161 !important;
}
@view-transition {
    navigation:auto;
}

.limited-height { max-height: 180px; overflow-y: auto; }

.files-scroll {
  max-height: 160px;
  overflow-y: auto;
}
