/* ------- */

.row-data-table * {
    font-size: 15px !important;
}

/* ------- */

table tr th {
    text-align: center !important;
    vertical-align: center !important;
}

table tr td {
    text-align: center !important;
    vertical-align: top !important;
}

/* ------- */

.border-input-0 {
    border-top: 0;
    border-left: 0;
    border-right: 0;
}

label {
    font-size: 15px;
    font-weight: bold;
    margin: 0px !important;
}

/* ------- */

#loading-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(112, 41, 99, 0.8);
    padding: 10px;
    border-radius: 5px;
    z-index: 1000;
    display: flex;
    align-items: center;
    color: white;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ------- */

.nav-step {
    position: relative;
}

.nav-label {
    padding: 7px 30px 10px 30px;
    background-color: rgba(var(--bs-light-rgb));
    color: black;
    position: relative;
    z-index: 1;
}

.nav-label.active {
    background-color: #6a4a86;
    color: white;
}

.nav-step::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    border-style: solid;
    border-width: 20px 0 20px 20px;
    border-color: transparent transparent transparent #6a4a86;
    z-index: 0;
}

.nav-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    border-style: solid;
    border-width: 20px 20px 20px 0;
    border-color: transparent #6a4a86 transparent transparent;
    z-index: 0;
}

.nav-step.active::before {
    left: 0px;
    border-width: 20px 0 20px 20px;
    border-color: transparent transparent transparent rgba(var(--bs-light-rgb));
    z-index: 2;
}

.nav-step.active::after {
    right: -20px;
    border-width: 20px 0 20px 20px;
    border-color: transparent transparent transparent #6a4a86;
    z-index: 2;
}

/* Eliminar el before del primer elemento y el after del ultimo elemento */
.nav-step:first-child::before {
    content: none;
}

.nav-step:last-child::after {
    content: none;
}

/* --------- */
.alert-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    cursor: pointer;
}

.alert-arrow {
    font-size: 24px;
    color: black;
    font-size: 0.8em;
    animation: blink 5s infinite;
}

@keyframes blink {

    0%,
    50%,
    100% {
        opacity: 1;
        color: #6a4a86;
    }

    25%,
    75% {
        opacity: 0.5;
    }
}
/* ------------ */

.tooltip-inner {
    max-width: 100%;
}

.tooltip.show {
    opacity: 1;
}

.tooltip img {
    margin: 5px 0;
    background-color: #333;
}

/* Ocultar el texto del select y solo mostrar la flecha */
.colors-options {
    appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    width: 100%;

    border: 0;
    background: none;
    -webkit-appearance: none;
    padding-left: 0px;
}

/* Agrega una flecha personalizada */
.colors-container::after {
    content: '▼';
    font-size: 0.8em;
    color: black;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.colors-container {
    position: relative;
}

.colors::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
}

/* Estilos dinámicos para diferentes colores */
.line-lightblue::before {
    background-color: lightblue;
}

.line-red::before {
    background-color: red;
}

.line-green::before {
    background-color: green;
}

.line-orange::before {
    background-color: orange;
}

.line-purple::before {
    background-color: purple;
}

.line-pink::before {
    background-color: pink;
}





/* REMOVE BORDER FOCUS WHEN A SELECT IS CLICKED, BLAME BOOSTRAP */
.form-select:focus {
    box-shadow: 0 0 0 0 !important;
}
