body,
html {
    box-sizing: border-box;
    height: 100%;
    padding: 0px;
    background-color: white;
}

#menu {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

#contenido {
    padding-top: 60px;
    overflow-y: auto;
}

* :not(input) {
    -moz-user-select: none !important;
    -webkit-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -o-user-select: none !important;
}

#canvas {
    border: 1px solid black;
    image-rendering: auto;
    background-color: white;
}

#canvaspreview {
    background-color: white;
    border: 1px solid black;
    image-rendering: auto;
}

#tocartecla {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#tocartecla label {
    font-size: 2rem;
    color: #000;
}

#ciclosValidos tr:hover {
    cursor: pointer;
    background-color: #ccc;
}

.signal_tools_container *{
    font-size: 13px;
}

.signal_detail_container {
    /* height: 340px; */
    text-align: center;
}

.signal_detail_data {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    background: white;
    font-size: 13px;

}

.signal_detail_data span:nth-child(1) {
    text-align: left;
    float: left;

}

.signal_detail_data span:nth-child(2) {
    text-align: right;
    float: right;

}

.rangos-container {
    display: block;
    background: #ccc;
    font-size: 14px;
    text-align: center;
    position: fixed;
    bottom: 0px;
    width: 100%;
    left: 0px;
}

.rango-item {
    margin: 3px;
    border: 1px solid black;
    display: inline-block;
}

.rango-item label {
    background-color: white;
    font-weight: 600;
    width: 85px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    vertical-align: middle;
}

.bottom {
    display: block;
    height: 100px;
}

.ciclovalido {
    text-align: center;
    font-size: 11px;
    display: inline-block;
    width: 90px;
    background-color: white;
}

.ciclovalido * {
    display: block;
}

.ciclovalido *:hover {
    cursor: pointer;
}

.dropdown-menu-dark {
    background-color: #343a40;
    /* Fondo oscuro */
    border-color: #454d55;
    /* Borde oscuro */
}

.dropdown-menu-dark .dropdown-item {
    color: #f8f9fa;
    /* Texto claro */
}

.dropdown-menu-dark .dropdown-item:hover {
    background-color: #495057;
    /* Fondo más claro al pasar el mouse */
    color: #f8f9fa;
    /* Texto claro al pasar el mouse */
}

.btn-primary {
    background: linear-gradient(to bottom, rgba(79, 133, 187, 1) 0%, rgba(79, 133, 187, 1) 100%);
}

.navbar {
    background: linear-gradient(to bottom, rgba(79, 133, 187, 1) 0%, rgba(79, 133, 187, 1) 100%);
}

.navbar * {
    white-space: nowrap;
    color: white;
}

.header-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(241, 241, 241, 1) 50%, rgba(225, 225, 225, 1) 51%, rgba(246, 246, 246, 1) 100%);

    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 5px;
    box-shadow: 1px 0px 1px black;
}

.header-custom h5 {
    margin: 0;
    /* Elimina márgenes del h3 */
}

.header-custom button {
    margin: 0;
    /* Elimina márgenes del botón */
}



/***************************/

.breadcrumb {
    padding: 0px;
    list-style: none;
    overflow: hidden;
    margin-bottom: 0px;
}

.breadcrumb>li+li:before {
    padding: 0;
}

.breadcrumb li {
    float: left;
}

.breadcrumb li.active a {
    background: #eee;
    color: #888;
}

.breadcrumb li.active a:after {
    border-left: 30px solid #eee;
    color: #888;
}

.breadcrumb li.completed a {
    background: #5c636a;

}

.breadcrumb li.completed a:after {
    border-left: 30px solid #5c636a;
}

.breadcrumb li a {
    font-weight: 600;
    color: white;
    text-decoration: none;
    padding: 10px 0 10px 45px;
    position: relative;
    display: block;
    float: left;
}

.breadcrumb li a:after {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-top: 50px solid transparent;
    /* Go big on the size, and let overflow hide */
    border-bottom: 50px solid transparent;
    border-left: 30px solid hsla(0, 0%, 83%, 1);
    position: absolute;
    top: 50%;
    margin-top: -50px;
    left: 100%;
    z-index: 2;
}

.breadcrumb li a:before {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-top: 50px solid transparent;
    /* Go big on the size, and let overflow hide */
    border-bottom: 50px solid transparent;
    border-left: 30px solid #ccc;
    position: absolute;
    top: 50%;
    margin-top: -50px;
    margin-left: 1px;
    left: 100%;
    z-index: 1;
}

.breadcrumb li:first-child a {
    padding-left: 15px;
}

.breadcrumb li.completed:hover {
    background: #5c636a;
    color: white;
    text-shadow: 0px 0px 3px white !important;
}

.breadcrumb li.completed:hover:after {
    border-left-color: #5c636a !important;
    text-shadow: 0px 0px 3px white !important;
}

/* Estilos para la superposición de carga */
#loadingOverlay {
    display: none;
    /* Inicialmente oculto */
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    /* Color de fondo semi-transparente */
    z-index: 9999;
    /* Asegúrate de que esté por encima de otros elementos */
    display: flex;
    justify-content: center;
    align-items: center;
}

#loadingSpinner {
    font-size: 3rem;
    color: white;
}