/*
Archivo propiedad de Z-Bombilla Spain, S.L con cif B54689120
 Prohibido la utilizacion de este fichero salvo acuerdo legal.
*/
/* 
    Created on : 07-abr-2021, 8:49:27
    Author     : ZB_EMPLEADO_2
*/
/* === Dropdown de Documentos – estilo mejorado === */
.menu-documentos li {
    padding: 0.25rem 0; /* espacio vertical uniforme */
}

.menu-documentos a {
    font-size: 0.95rem;
    color: #333;
    transition: all 0.15s ease;
}

.menu-documentos a:hover {
    color: #f26f03; /* tono corporativo */
    text-decoration: none;
}

/* Icono “+” discreto pero accesible */
.menu-documentos .btn-add-doc {
    color: #aaa;
    font-size: 1rem;
    opacity: 0.7;
    transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.menu-documentos .btn-add-doc:hover {
    color: #f26f03;
    opacity: 1;
    transform: scale(1.15);
}

/* Separación visual ligera entre grupos */
.menu-documentos li + li {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

/* Tooltip estilo limpio */
.tooltip-inner {
    background-color: #333 !important;
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
}

.error{
    color:red;
}
.invalid{
    border:dotted red 1px;
}

#jumbotronMain{
    background-image: url(https://picsum.photos/2560/1600);
    background-size: cover;
    padding-top: 10%;
    padding-bottom: 10%;
    width: 100%;
    position: relative; 
}
#jumbotronMain::before {
    content: ''; /* Importante para que el pseudo-elemento se muestre */
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.25); /* Ajusta la opacidad según sea necesario */
    z-index: 1; /* Asegúrate de que la superposición esté por encima de la imagen de fondo y por debajo del texto */
}
.text-background {
    /*background-color: #18181845;*/ 
    display: inline-block;
    padding: 1em; /* O ajusta este valor según tus necesidades */
    border-radius: 10px;
    position: relative; /* Necesario para que el texto aparezca sobre la superposición */
    z-index: 2;
}
.iconoG {
    font-size: 4em;
    padding: 0.3em;
}
.intro-section {
    margin: 2em 0;
}
.intro-section h2 {
    margin-bottom: 1em;
}

.dimmed {
    pointer-events: none;
    opacity: 0.5;
}

.select2-results__option .delete-client {
    pointer-events: auto !important;
}

.pagination {
    flex-wrap: nowrap !important; /* Evita que los botones se desborden */
    overflow-x: auto; /* Si hay muchas páginas, permite desplazamiento */
}

/*.container {
    flex: 1;  Permite que el contenido principal ocupe el espacio disponible 
}*/

.buttonOrange{
    color: var(--contrast-color);
    background: var(--accent-color);
    border: 0;
    padding: 1px 8px;
    transition: 0.4s;
    border-radius: 5px;
    margin-right: 5px;
}

/**********************************************************************Cookies*/
#freeprivacypolicy-com---nb {
    position: fixed !important;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100% !important;
    max-width: 100%;
    background: #332f46 !important;
    color: #fff !important;
    font-size: 14px !important;
    padding: 6px 12px !important;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.2);
    z-index: 99999;
}

/* Contenedor principal del texto y los botones */
.cc-nb-main-container {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 !important;
}

/* Quitamos el título por completo */
.cc-nb-title-container {
    display: none !important;
}

/* Contenedor del texto */
.cc-nb-text-container {
    flex: 1;
    padding: 0 !important;
    margin: 0 !important;
}

.cc-nb-text {
    margin: 0 !important;
    padding: 0 !important;
}

/* Contenedor de los botones */
.cc-nb-buttons-container {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    padding-right: 3pc;
}

/* Botones: estilo compacto */
.cc-nb-buttons-container button {
    font-size: 13px !important;
    padding: 5px 10px !important;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    line-height: 1.2;
}

/* Estilo de cada botón */
.cc-nb-okagree {
    background-color: #0073e6 !important;
    color: #fff !important;
}

.cc-nb-reject {
    background-color: #555 !important;
    color: #fff !important;
}

.cc-nb-changep {
    background-color: transparent !important;
    border: 1px solid #aaa !important;
    color: #ccc !important;
}

/* Responsive: en móviles, los botones van debajo */
@media (max-width: 600px) {
    .cc-nb-main-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .cc-nb-buttons-container {
        justify-content: flex-start;
    }
}
/**********************************************************************Cookies*/
/* Estructura del interruptor */
.switch {
    position: relative;
    display: inline-block;
    width: 52px;   /* Ancho del toggle */
    height: 28px;  /* Alto del toggle */
}

/* Ocultamos el <input> original, pero lo mantenemos funcional */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* El “slider” que se mueve */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 28px; /* Redondeado */
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px; /* Separación interior */
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

/* Cuando el checkbox está checkeado */
.switch input:checked + .slider {
    background-color: #2196F3; /* color de fondo del toggle activo */
}
.switch input:checked + .slider:before {
    transform: translateX(24px); /* mueve la bolita a la derecha */
}

/* Opcional: si quieres un borde redondo en la pista */
.slider.round {
    border-radius: 28px;
}
.slider.round:before {
    border-radius: 50%;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}
.pricing-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}
.toggle-container label {
    font-weight: bold;
    margin: 0 0.5rem;
}
.pricing-table .card {
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
    height: 100%;
}
.pricing-table .card:hover {
    transform: translateY(-5px);
}
.pricing-table .card-header {
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
}
.price-display {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
}
.price-subtext {
    font-size: 0.85rem;
    text-align: center;
    color: #666;
}
.pricing-table ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pricing-table ul li {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #eaeaea;
    position: relative; /* Para ubicar el tooltip en caso de usar JS */
}
.plan-cta {
    text-align: center;
    margin: 1rem 0;
}
.plan-cta button {
    background-color: #f26f03;
    border-color: #f26f03;
    color: #fff;
}
/* Tooltip (Bootstrap 5) - ejemplo básico */
[data-bs-toggle="tooltip"] {
    cursor: pointer;
    text-decoration: none;
}

/* Un contenedor (por si quieres cambiar el fondo o el borde) */
.popular-pack {
    border: 2px solid #f26f03; /* Borde naranja para destacar */
    position: relative;
}

/* Pequeña insignia “Recomendado” */
.recommended-badge {
    background-color: #f26f03;
    color: #fff;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.8rem;
}

.pack-desc {
    font-size: 0.75rem;
    color: #666;
    margin-top: 4px;
}

.pricing-table ul {
    text-align: left; /* Fuerza la alineación a la izquierda en la lista */
}
.video-absolute {
    width: 24pc;
    position: absolute;
    right: 25%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;

}

@media (max-width: 991px) {
    .video-absolute {
        position: static;
        transform: none;
        margin-top: 1rem;
    }
}

/*STYLES PARA API*/
.api-endpoint {
    font-family: sans-serif;
    line-height: 1.6;
    max-width: 900px;
    margin: 30px auto;
}

.api-endpoint h2,
.api-endpoint h3,
.api-endpoint h4 {
    margin-top: 30px;
    color: #b20063;
}

.api-endpoint table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.api-endpoint table th,
.api-endpoint table td {
    border: 1px solid #ddd;
    padding: 10px 12px;
    text-align: left;
}

.api-endpoint table th {
    background-color: #f8f8f8;
    font-weight: bold;
}

.api-endpoint code {
    background-color: #f3f3f3;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    color: #c7254e;
}

.api-endpoint pre {
    background-color: #f9f9f9;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow-x: auto;
    margin-top: 10px;
}

.api-endpoint ul {
    margin-left: 20px;
}

.api-endpoint p,
.api-endpoint ul,
.api-endpoint pre {
    margin-bottom: 18px;
}

.sidebar-heading {
    background-color: #f0f0f0;
    padding: 8px 12px;
    margin-bottom: 10px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.api-endpoint {
    scroll-margin-top: 80px; /* o el alto de tu navbar */
}


/*EJEMPLOS CODIGO*/
.code-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 25px 0 10px;
}

.code-toolbar select,
.code-toolbar button {
    padding: 5px 10px;
    font-size: 14px;
}

.code-example {
    margin-bottom: 40px;
}

.code-example pre {
    background-color: #f9f9f9;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow-x: auto;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.6;
}

.btn-sm {
    font-size: 14px;
    cursor: pointer;
}

/* Compacto */
.compacto td,.compacto th{font-size:.9rem;line-height:1.25;padding:.5rem .6rem}
.compacto .btn{padding:.25rem .5rem;font-size:.8rem;line-height:1.1}

#inputPedido::placeholder {
    opacity: 0.6;
    font-style: italic;
}


.table-responsive{min-height:350px;padding-bottom:1rem}
.table td,.table th{vertical-align:middle}

/* ===============================
   Toolbar de filtros (listados)
   =============================== */
.filters-toolbar .card-body {
    padding: .5rem .75rem;
}

.filters-toolbar .form-select,
.filters-toolbar .form-control {
    height: calc(1.5em + .5rem + 2px);
    padding: .25rem .5rem;
    font-size: .875rem;
}

.filters-toolbar .btn {
    padding: .25rem .6rem;
    font-size: .875rem;
    line-height: 1.2;
}

.filters-toolbar .vr {
    height: 1.75rem;
}

.filters-toolbar .search-wrap {
    min-width: 260px;
}