﻿/* ============================ */
/* ESTILOS SECCION HERRAMIENTAS */
/* ============================ */
.ac-section {
    --ac-border: #d9e6ee;
    --ac-pill-bg: #57e3bf;
    --ac-pill-text: #06354a;
    --ac-panel-bg: #ffffff;
    --ac-dash: #cfdbe3;
}
.ac-inner {
    max-width: 1160px;
    margin: 0 auto;
}

/* Título*/
.ac-title {
    font-size: 2.8rem;
    font-weight: 500;
    color: #12183A;
    letter-spacing: 0.2px;
}

/* Panel base */
.ac-panel {
    background: transparent;
    border-radius: 10px;
    border: 2px dashed var(--ac-dash);
    min-height: 180px;
    border-color: #808080;
}

/* Pill labels */
.ac-pill {
    display: inline-block;
    padding: 8px 22px;
    border-radius: 30px;
    background: var(--ac-pill-bg);
    color: var(--ac-pill-text);
    font-weight: 700;
    font-size: 1.3rem;
    position: absolute;
    top: -5px;
    min-width: 370px;
    min-height: 50px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    transform: translateY(-50%);
    text-align: center;
}

/* Variantes para posicionamiento */
.ac-pill--right {
    left: auto;
    right: 18px;
}

.ac-pill--center {
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Panel body spacing */
.ac-panel-body {
    padding: 6px 6px 14px 6px;
}

/* Tool / item */
.ac-tool-item {
    width: var(--ac-item-width);
    min-height: var(--ac-item-height);
    max-width: none;  
    margin: 0 auto;  
    padding: 10px;  
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: transform .18s ease, box-shadow .18s ease;
}
    .ac-tool-item:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 26px rgba(0,0,0,0);
    }
.ac-icon-wrapper,
.ac-icon-wrapper.c-tool-frame,
.c-tool-frame {
    width: var(--ac-icon-size);
    height: var(--ac-icon-size);
    padding: 0;
    border: 2px solid var(--ac-border-color);
    border-radius: 6px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}
/* Labels */
.ac-tool-label {
    font-size: 1.0rem;
    color: #14313f;
    margin-top: 4px;
    line-height: 1.15;
    font-weight: 600;
}

/* Integrations row */
.ac-panel--integrations {
    border-style: dashed;
    padding-top: 34px;
    padding-bottom: 18px;
}

/* Integrations icons/labels */
.ac-integ-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.ac-integ-label {
    font-size: 1.0rem;
    font-weight: 600;
    color: #14313f;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .ac-panel {
        padding: 18px 12px;
    }

    .ac-pill {
        font-size: 1.3rem;
        padding: 12px 6px;
        min-width: 270px;
    }

    .ac-title {
        font-size: 1.35rem;
    }

    .ac-tool-item {
        max-width: 140px;
    }
}
.ac-icon-wrapper.c-tool-frame {
    border: 3px solid #38B6FF; /* color en HEX (verde) */
    border-radius: 15px; /* esquinas cuadradas */
    box-sizing: border-box;
    padding:5px;
    transition: transform .12s ease, box-shadow .12s ease;
    background: #ffff; /* asegúrate que no tenga fondo si quieres solo borde */
}
/* =========================================================================== */
/* ESTILOS SECCION APP CONTAUNO*/
/* =========================================================================== */
.section-app-contauno {
    background: linear-gradient(to right, #33917B, #12183A);
}
/* =========================================================================== */
/* ocultar las filas extra */
.hidden-rows {
    display:none;
}
/* =========================================================================== */
/* ESTILOS SECCION CLIENTES */
/* =========================================================================== */
.clientes-seccion {
    background: #FAFBFF;
    border-radius: 16px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.clientes-titulo {
    font-size: 1.75rem;
    color: #1e40af;
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
    font-weight: 600;
}

.clientes-contenedor {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 1.5rem 0;
}

.clientes-fila {
    display: flex;
    width: max-content;
}

.cliente-item {
    flex: 0 0 auto;
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 1.25rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

    .cliente-item:hover {
        transform: translateY(-5px) scale(1.03);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }

.cliente-logo {
    width: 160px;
    height: 70px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #3b82f6;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

/* Primera fila - se mueve hacia la derecha */
.clientes-fila-superior {
    animation: deslizar-derecha 5s linear infinite;
}

    .clientes-fila-superior:hover {
        animation-play-state: paused;
    }

@keyframes deslizar-derecha {
    0% {
        transform: translateX(-20%);
    }

    100% {
        transform: translateX(0%);
    }
}

/* Segunda fila - se mueve hacia la izquierda */
.clientes-fila-inferior {
    animation: deslizar-izquierda 5s linear infinite;
}

    .clientes-fila-inferior:hover {
        animation-play-state: paused;
    }

@keyframes deslizar-izquierda {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-20%);
    }
}

/* Efecto de desvanecimiento en los bordes */
.clientes-contenedor::before,
.clientes-contenedor::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.clientes-contenedor::before {
    left: 0;
    background: linear-gradient(to right, #FAFBFF 20%, transparent);
}

.clientes-contenedor::after {
    right: 0;
    background: linear-gradient(to left, #FAFBFF 20%, transparent);
}

/* Responsive */
@media (max-width: 768px) {
    .clientes-seccion {
        padding: 1.5rem;
    }

    .cliente-item {
        width: 160px;
        height: 100px;
        margin: 0 0.75rem;
    }

    .cliente-logo {
        width: 140px;
        height: 60px;
        font-size: 0.9rem;
    }

    .clientes-contenedor::before,
    .clientes-contenedor::after {
        width: 40px;
    }
}
/* =========================================================================== */
/* ESTILOS DEL BANNER INICIAL */
/* =========================================================================== */
/* Contenedor general */
.video-container {
    width: 100%;
    max-width: 100%;
    position: relative;
    aspect-ratio: 16/9;
    padding-top: 0px;
}

/* Miniatura */
.video-thumb {
    position: relative;
    display: block;
    cursor: pointer;
    width: 100%;
}
.thumb-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
    padding-top: 30px;
}
.caracteristicas-video-container {
    width: 100%;
    position: relative;
    aspect-ratio: 16/9;
    padding-top: 0px;
}
@media (min-width: 992px) {
    .caracteristicas-video-container .video-thumb {
        transform: scale(1.1) translateX(5%);
    }
}
:root {
    --btn-size: 80px;
    --btn-size-sm: 60px;
    --overlay-pad: 16px;
    --gap: -20px; /* espacio entre botón y texto */
}
 
/* Overlay play */
.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.play-button {
    pointer-events: auto;
    width: var(--btn-size);
    height: var(--btn-size);
    border-radius: 50%;
    background: rgba(0,179,158,1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.28);
    border: none;
    position: relative;
    z-index: 3;
    transition: transform .2s ease;
}
.play-button::after {
    content: "";
    display: block;
    margin-left: 6px;
    width: 0;
    height: 0;
    border-left: 20px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}
 
.text-container {
    position: absolute;
    top: 50%;
    left:50%;
    transform: translate(calc(var(--btn-size) / 2 + var(--gap)), -50%);
    z-index: 2;
    max-width: calc(100% - (var(--btn-size) + (var(--overlay-pad) * 2) + var(--gap)));
    box-sizing: border-box;
    overflow: hidden;
}
.play-text {
    display: inline-flex;
    align-items: center;
    height: 70px;
    padding: 0 20px 0px 30px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    background: #0d1335;
    color: #fff;
    border-radius: 0 40px 40px 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: all .25s ease;
    font-size: 18px;
}

.video-thumb:hover .play-text,
.video-thumb:focus-within .play-text {
    opacity: 1;
    transform: translateX(0);
}
@media (max-width: 768px) {
    :root {
        --btn-size: var(--btn-size-sm);
        --gap: -35px;
    }
    .play-button {
        width: var(--btn-size);
        height: var(--btn-size);
    }
    .text-container {
        transform: translate(calc(var(--btn-size) / 2 + (var(--gap) / 2)), -50%);
        max-width: calc(100% - (var(--btn-size) + (var(--overlay-pad) * 2) + var(--gap)));
    }
    .play-text {
        font-size: 14px;
        height: 55px;
        padding: 0 15px 0px 25px;
    }
 
}
 
/* Contenedor del iframe (16:9 responsivo) */
.video-player-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.video-player-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 6px;
}

.video-player-wrapper .video-thumb {
    margin-top: -50px;
}

/* Botón cerrar sobre el video */
.video-close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 5;
    background: rgba(0,179,158,06);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-close-btn:focus {
    outline: 2px solid #ddd;
}
/* =========================================================================== */
/* BOTON WHATSAAP FLOTANTE */
/* =========================================================================== */
/* Botón flotante WhatsApp - versión mejorada */
.float {
    position: fixed;
    bottom: calc(25px + env(safe-area-inset-bottom));
    width: clamp(48px, 10vw, 80px); /* más grande en desktop si quieres */
    height: clamp(48px, 10vw, 80px);
    border-radius: 50%;
    background-color: #00b39e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    z-index: 9999;
    cursor: pointer;
    box-sizing: border-box;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    transform: none !important; /* anula transforms inline */
    margin: 0 !important;
    right: calc(25px + env(safe-area-inset-right))  ;
    touch-action: manipulation; /* mejora comportamiento táctil */
    pointer-events: auto;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
    .float:hover {
        transform: scale(1.2); /* agranda 15% */
        box-shadow: 0 8px 20px rgba(0,0,0,0.35); /* sombra un poco más fuerte */
    }
    /* Icono FontAwesome dentro del botón */
    .float .my-float,
    .float i.fa {
        display: inline-block;
        line-height: 1;
        width: 50%;
        height: 60%;
        text-align: center;
        /* Icono más grande en móviles: mínimo 22px */
        font-size: clamp(35px, 6vw, 50px);
        transform: none !important;
        margin: 0 !important;
    }
    .float i.fa,
    .float i.fa:hover,
    .float i.fa:focus,
    .float i.fa:active {
        color: #fff !important; /* blanco fijo */
    }
/* Ajustes extra para pantallas muy pequeñas */
@media (max-width: 430px) {
    .float {
        width: 60px;
        height: 60px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        right: calc(10px + env(safe-area-inset-right));
    }

        .float .my-float,
        .float i.fa {
            font-size: 35px;
            height: 55%;
        }
}

/* Asegura que imágenes y vídeos no provoquen overflow */
img, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
    box-sizing: border-box;
}

/* Caja global para evitar contenedores demasiado anchos */
* {
    box-sizing: border-box;
}
/* =========================================================================== */
/* ESTILOS PAGINA CONTADORES */
/* =========================================================================== */
.table > tbody > tr,
.table > tbody > tr > td,
.table > thead > tr > th {
    border: none !important;
}

.table td {
    padding: 10px 0;
}

#datatable_length {
    display: none;
}
.dataTables_filter {
    margin-top: 1rem; /* o más si quieres */
    margin-bottom: 1rem; /* o más si quieres */
}

/* Espacio entre "Mostrando 1 a 4" y el paginador */
.dataTables_info {
    margin-bottom: 0.8rem;
}

.dataTables_paginate {
    margin-top: 0.5rem;
}
.accountant-card {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
    overflow: hidden;
    background: white;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid #D4E1F7;
}

    .accountant-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

.accountant-header {
    background: #fff;
    padding: 10px;
    position: relative;
}

.Nombre-label {
    font-size: 20px;
    font-weight: 500;
    font-family: 'Poppins';
    color: #12183A;
    padding: 10px;
    text-transform: uppercase;
}

.accountant-name {
    font-weight: 700;
    font-size: 1.4rem;
    color: #12183A;
    margin: 0;
    letter-spacing: 0.5px;
}

.accountant-body {
    padding: 15px;
    border-radius: 2px;
    border-color: #12183A;
}

.contact-icon {
    background: #12183A;
    min-width: 30px;
    box-shadow: none;
    font-size: 20px;

}

.contact-info {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

    .contact-info:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

.contact-details {
    flex: 1;
}

.contact-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2px;
    font-size: 0.9rem;
}

.contact-value {
    color: #555;
    font-size: 1rem;
}

.whatsapp-link {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.ubigeo-badge {
    display: inline-block;
    background: #12183A;
    color: #fff;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 0.80rem;
    font-weight: 500;
    margin-right: 5px;
    margin-bottom: 5px;
}

.accountant-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border-radius: 8px;
    width: 100%;
    height: 100%;
}

.accountant-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
}
/* Estilo base de botones de paginación */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 5px;
    padding: 10px 20px;
    margin: 4px;
    border: 1px solid #12183A;
    background: transparent;
    color: #12183A;
    cursor: pointer;
    box-shadow: none;
    transition: all .15s ease;
    min-width: 36px;
    text-align: center;
    text-decoration: none;
    font-family: 'Roboto';
}
    /* Hover */
    .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
        background: rgba(0,179,158,0.2);
        transform: translateY(-1px);
    }

    /* Botón activo / seleccionado */
    .dataTables_wrapper .dataTables_paginate .paginate_button.current,
    .dataTables_wrapper .dataTables_paginate .paginate_button.active {
        background: #00B39E;
        color: #fff !important;
    }

    /* Quitar bordes feos cuando está deshabilitado */
    .dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
        opacity: 0.5;
        cursor: default;
        transform: none;
    }
/* Tablets y pantallas medianas */
@media (max-width: 768px) {
    .dataTables_wrapper .dataTables_paginate .paginate_button {
        padding: 8px 14px;
        margin: 3px;
        font-size: 16px;
    }
}

/* Móviles */
@media (max-width: 480px) {
    .dataTables_wrapper .dataTables_paginate .paginate_button {
        padding: 6px 12px;
        margin: 4px;
        font-size: 15px;
    }
}
/* Alinear el paginador al centro y espaciarlo */
.dataTables_wrapper .dataTables_paginate {
    margin-top: 12px;
    text-align: center;
}
/* Ajustar el buscador de DataTables */
.dataTables_filter {
    float: right;
    width: auto;
    text-align: right;
    border-color: #12183A !important;
     
}

    .dataTables_filter label {
        font-weight: 500;
        margin-right: .5rem;
        display: flex;
        align-items: center;
        margin-bottom: 0;
        position: relative;
    }
    .dataTables_filter input {
        background:transparent !important;
    }

@media (max-width: 768px) {
    .accountant-image-container {
        margin-top: 20px;
    }
}
/* =========================================================================== */
/* ESTILOS NAVAR BOTON INGRESAR*/
/* =========================================================================== */
 
.custom-modal {
    position: absolute;
    min-width: 200px;
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 8px 28px rgba(0,0,0,.18);
    z-index: 2000;
    display: none;
}
.custom-modal[data-open="true"] {
    display: block;
}
.custom-modal .modal-actions {
    display: flex;
    flex-direction: column; 
    gap: 10px; 
}

 
/* =========================================================================== */
/* MODAL ACERCA DE RAPIFAC                                 */
/* =========================================================================== */
.store-item {
    text-align: center;
    position: relative;
}

.tag-badge {
    position: absolute;
    top: -0.8em; /* lo sube arriba del botón */
    left: 50%; /* empieza desde el centro */
    transform: translateX(-70%); /* lo centra horizontalmente */
    background: #F4BB57; /* Amarillo */
    color: #12183A; /* Texto negro */
    font-size: clamp(12px, 2vw, 14px);
    font-weight: 450;
    padding: 0.2em 0.8em;
    border-radius: 0.3em; /* Bordes redondeados */
    white-space: nowrap;
}
.tag-planes {
    position: absolute;
    top: -1.2em; /* lo sube arriba del botón */
    left: 50%; /* empieza desde el centro */
    transform: translateX(-50%); /* lo centra horizontalmente */
    background: #ffc285; /* Amarillo */
    color: #12183A; /* Texto negro */
    font-size: 18px;
    letter-spacing: 0.5px;
    font-weight: 600;
    padding: 0.2em 2.5em;
    border-radius: 10px; /* Bordes redondeados */
    white-space: nowrap;
    font-family: 'Poppins';
}
@keyframes pulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
    }

    50% {
        transform: translateX(-50%) scale(1.1);
    }
}
/* =========================================================================== */
/* CERTIFICACIONES                           */
/* =========================================================================== */
/* Control de imágenes */
.branch-img {
    max-height: 120px;
    width: auto;
    height: auto;
    display: block;
}

.logo-img {
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto; /* elimina márgenes laterales */
    padding: 0;
}

/* Reducir espacios en filas (menos "margen" entre columnas) */
.cert-row {
    gap: .5rem; /* controla separación entre columnas */
}

/* Ajustes en pantallas pequeñas */
@media (max-width: 575.98px) {
    .branch-img {
        max-height: 64px; /* ramas más pequeñas pero visibles en móvil */
    }

    .logo-img {
        max-height: 64px;
    }
    /* Para asegurar que los logos no queden demasiado pequeños o con mucho espacio lateral */
    .col-logo {
        padding-left: .25rem;
        padding-right: .25rem;
    }
}

/* Si aún ves espacio dentro de la propia imagen (canvas blanco), reduce el ancho máximo del logo ISO */
.iso-img {
    max-width: 160px; /* limita su ancho en desktop */
}

@media (max-width: 575.98px) {
    .iso-img {
        max-width: 120px;
    }
}