td.details-control {
    background: url('../images/details_open.png') no-repeat center center;
    cursor: pointer;
}

tr.shown td.details-control {
    background: url('../images/details_close.png') no-repeat center center;
}

.progress-group {
    border-radius: 5px;
    padding: 3px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.progress {
    height: 1.5rem !important;
}

.callout-on {
    display: block;
}

.callout-off {
    display: none;
}

.spinner-load {
    background: rgba(0, 0, 0, 0.30);
    position: relative;
    text-align: center;
    display: none;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    z-index: 9999;
}

.spinner-load span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    margin: -15% 0 0 -30%;
}

div.dt-buttons {
    margin: 0 3rem !important;
}

.scrollable-dropdown-menu .tt-dropdown-menu {
    max-height: 150px !important;
    overflow-y: auto !important;
}

/* blinking cursor */
#cursor {
    background: #000;
    line-height: 17px;
    margin-left: 3px;
    -webkit-animation: blink 0.8s infinite;
    width: 20px;
    height: 5px;
}

@-webkit-keyframes blink {
    0% {
        background: #FFF
    }

    10% {
        background: #000
    }

    100% {
        background: #FFF
    }
}


/* Estilo para los encabezados de DataTables */
table.dataTable thead tr {
    background-color: #00aeef !important;
    color: white !important;
}

table.dataTable thead th {
    background-color: #00aeef !important;
    color: white !important;
}

/* Estilos personalizados para los botones de radio con mayor especificidad */
.btn.btn-custom-outline {
    color: #000 !important;
    border-color: #000 !important;
    background-color: transparent !important;
}

.btn.btn-custom-outline:hover {
    color: #dc3545 !important;
    border-color: #dc3545 !important;
    background-color: transparent !important;
}

.btn.btn-custom-outline.active,
.btn.btn-custom-outline:active {
    color: #fff !important;
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.btn.btn-custom-outline:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}


.form-control.is-warning {
    border-color: #ffc107;
  }

  .form-control.is-warning:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.25);
  }

  .form-control.is-warning ~ .warning-feedback,
  .form-control.is-warning ~ .warning-tooltip {
    display: block;
  }

  textarea.form-control.is-warning {
    padding-right: 2.25rem;
    background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
  }

/* Solución para evitar que el último renglón de las tablas se pierda en vista responsiva */
.tab-pane .table-responsive {
    margin-bottom: 3rem !important; /* Equivalente a mb-5 */
    padding-bottom: 3rem !important; /* Equivalente a pb-5 */
}

/* Si necesitas que este comportamiento solo ocurra cuando está en pantalla completa */
.tab-pane.fullscreen .table-responsive {
    margin-bottom: 3rem !important;
    padding-bottom: 3rem !important;
}

.editable-inline .editable-cancel {
    background-color: #e74c3c !important; /* rojo */
    color: #fff !important;
    border: none !important;
    padding: 4px 10px;
    border-radius: 4px;
}

.editable-inline .editable-cancel:hover {
    background-color: #c0392b !important;
}

.editable-inline .editable-error-block {
    color: #ff0000 !important;  /* rojo fuerte */
    background: #ffecec;
    padding: 3px 6px;
    border-radius: 4px;
}
