
/* Roboto Regular */
@font-face {
    font-family: "Roboto Regular";
    src: url("../fonts/Roboto-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
/* Documan Regular */
@font-face {
    font-family: "Documan Regular";
    src: url("../fonts/documan.woff2") format("woff2"), url("../fonts/documan.woff") format("woff");
}
/* Roboto Medium */
@font-face {
    font-family: "Roboto Medium";
    src: url("../fonts/Roboto-Medium.ttf") format("truetype");
    font-weight: 500; /* Medium weight */
    font-style: normal;
}
/* Documan Medium */
@font-face {
    font-family: "Documan Medium";
    src: url("../fonts/documan-med.woff2") format("woff2"), url("../fonts/documan-med.woff") format("woff");
}
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
    scroll-behavior: smooth;
}

body {
    font-family: "Roboto Regular", sans-serif;
    background: #f3f9ff;
    color: #63656A;
}

a {
    color: #0096FF;
    text-decoration: none;
}

    a:hover {
        color: #33abff;
        text-decoration: none;
    }

h1, h2, h3, h4, h5, h6 {
    font-family: "Documan Medium", sans-serif;
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
    margin-bottom: 10px;
}

    .pagetitle h1 {
        font-size: 24px;
        margin-bottom: 0;
        color: #003C6E;
    }

/* Breadcrumbs */
.breadcrumb {
    font-size: 14px;
    font-family: "Documan Medium", sans-serif;
    color: #b1c6d7;
}

    .breadcrumb a {
        color: #b1c6d7;
    }

        .breadcrumb a:hover {
            color: #6d95b5;
        }

    .breadcrumb .breadcrumb-item::before {
        color: #b1c6d7;
    }

    .breadcrumb .active {
        color: #6d95b5;
    }





table.dataTable.cell-border {
    border-collapse: collapse;
}

    table.dataTable.cell-border > thead > tr > * {
        border-top: 1px solid rgba(0, 0, 0, 0.15);
        border-right: 1px solid rgba(0, 0, 0, 0.15);
    }

        table.dataTable.cell-border > thead > tr > *:first-child {
            border-left: 1px solid rgba(0, 0, 0, 0.15);
        }

    table.dataTable.cell-border > thead > tr:first-child > * {
        border-top: 1px solid rgba(0, 0, 0, 0.3);
    }

    table.dataTable.cell-border > tbody > tr > * {
        border-top: 1px solid rgba(0, 0, 0, 0.15);
        border-right: 1px solid rgba(0, 0, 0, 0.15);
    }

        table.dataTable.cell-border > tbody > tr > *:first-child {
            border-left: 1px solid rgba(0, 0, 0, 0.15);
        }

    table.dataTable.cell-border > tbody > tr:first-child > * {
        border-top: 1px solid rgba(0, 0, 0, 0.3);
    }

    table.dataTable.cell-border > tfoot > tr > * {
        border: none !important;
    }

table.table.dataTable > :not(caption) > * > * {
    padding: 0.1rem 0.3rem 0.1rem 0.3rem;
}

table {
    font-family: Calibri, sans-serif;
    font-size: 1.2rem;
}

/* Tabla con scroll */
.tabla-scroll {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: auto;
    display: block;
}

    .tabla-scroll table {
        width: 100%;
        border-collapse: collapse;
    }

    .tabla-scroll thead th {
        position: sticky;
        top: 0;
        background-color: white;
        z-index: 2;
    }


/*
    Estilos personalizados
*/
.control-label {
    margin-top: 5px;
    margin-left: 8px;
}

dt.col-sm-4, dt.col-sm-2 {
    font-weight: normal;
}

.control-label, dt.col-sm-4, dt.col-sm-2, dt-column-title {
    color: #5a6e7f;
    font-size: 90%;
}

table.dataTable.cell-border > thead > tr:first-child > * {
    background-color: #E6EEF5;
}

table.dataTable thead th {
    color: #0a123c;
    background-color: #E6EEF5;
    font-size: 84%;
    font-weight: normal;
}

table.dataTable tbody td {
    font-size: 80%;
    color: #4D4D4D;
}

.dt-info, .dt-length, .dt-search {
    font-size: 80%;
    color: #666666;
}

/* Estilo para la primera fila del encabezado */
table.table.table-bordered.table-striped thead tr:first-child th {
    background-color: #E6EEF5;
}

/* Estilo general para los encabezados */
table.table.table-bordered.table-striped thead th {
    color: #0a123c;
    background-color: #E6EEF5;
    font-size: 84%;
    font-weight: normal;
}

/* Estilo para las celdas del cuerpo */
table.table.table-bordered.table-striped tbody td {
    font-size: 80%;
    color: #4D4D4D;
}

/* Estilo para elementos informativos */
.dt-info,
.dt-length,
.dt-search {
    font-size: 80%;
    color: #666666;
}

.btn-sm {
    /*    --bs-btn-padding-y: 0.25rem;
*/ --bs-btn-padding-x: 0.05rem;
    /*    --bs-btn-font-size: 0.875rem;
    --bs-btn-border-radius: var(--bs-border-radius-sm);
*/
}


.campos-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.campo-grid {
    background-color: #fecfc8;
}

.campo-box {
    background-color: #d0f0e0;
}

.campo-box, .campo-grid {
    margin: 2px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    font-size: 12px;
    font-family: "Documan Medium", sans-serif;
    gap: 5px;
    flex: 1 1 150px; /* Se ajusta automáticamente con un ancho mínimo */
    min-width: 150px;
    min-height: 30px;
}

h3 {
    font-size: 99%;
}

.bg-image {
    background-image: url(../img/login_bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card-icon {
    color: #003c6e;
    background: #dce7f1;
    font-size: 32px;
    line-height: 0;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    flex-grow: 0;
}

.demUser {
    color: #6d95b5;
    font-size: 90%;
    font-family: "Documan Medium", sans-serif;
}

.navbar-nav .nav-link {
    color: #6d95b5 !important;
}

.dropdown-menu .dropdown-item {
    color: #6d95b5 !important;
}

.btn-xs {
    padding: 0.15rem 0.15rem;
    font-size: 0.75rem;
    line-height: 1.2;
    border-radius: 0.2rem;
}

/* Tipografía */
.medium-font-size {
    font-size: 0.90rem;
}

.small-font-size {
    font-size: 0.75rem;
}

.form-label {
    margin-bottom: .1rem;
}


.breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    /* separador más visible */
    color: #adb5bd; /* gris suave */
}




/* Color para los items de segundo nivel (Submenús) */
.menu_n2 {
    color: #0AA2C0 !important; /* Color success de Bootstrap */
    padding-left: 0.5rem; /* Indentación para que se note la jerarquía */
    font-size: 0.95rem; /* Un pelín más pequeño para diferenciar */
}

    /* Efecto hover para el segundo nivel */
    .menu_n2:hover {
        color: #0DCAF0 !important;
    }

    /* Opcional: Diferenciar el icono del segundo nivel */
    .menu_n2 i {
        font-size: 0.9rem;
    }

table.dataTable.cell-border > thead > tr:first-child > * {
    border-top: 1px solid #000;
}
table > :not(:last-child) > :last-child > * {
    border-bottom-color: 1px solid #000;
}
table.dataTable thead {
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    border-collapse: separate;
    border-spacing: 0;
}

table.dataTable tbody {
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    border-collapse: separate;
    border-spacing: 0;
}


    /* 2. Evitar que la primera columna tape el borde izquierdo */
    table.dataTable tbody td:first-child,
    table.dataTable thead th:first-child {
        border-left: none !important;
    }

    /* 3. Evitar que la última columna tape el borde derecho */
    table.dataTable tbody td:last-child,
    table.dataTable thead th:last-child {   
        border-right: none !important;
    }



main.main-centered {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    padding-top: 1cm !important;
    height: 100vh;
}



/* Tablas compactas CronusFACTU */
.table-sm,
.table-sm td,
.table-sm th {
    font-size: 0.96rem !important;
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}

    .table-sm th {
        font-weight: 600 !important;
    }




.logo-container img {
    display: block;
    margin: 0 auto;
    padding-bottom: 20px;
}

/* Fecha de emisión: más grande, negrita y gris oscuro */
.letra-l {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Cadena del código QR: letra más pequeña y gris tenue */
.letra-s {
    font-size: 0.75rem;
    word-break: break-all;
}






.tarjeta-navegable:hover {
    background: #f3f7ff;
    transform: scale(1.01);
    transition: 0.15s;
}

/* Área drag & drop para subir Excel */
/* Área drag & drop gris */
.file-dropzone {
    border: 2px dashed #6b747c; /* cl-gris-600 */
    background-color: #e9ecef; /* bg-gris-100 */
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    padding: 1rem;
    transition: background-color 0.2s, border-color 0.2s;
}

    /* Hover */
    .file-dropzone:hover {
        background-color: #dee2e6; /* ligero gris más claro */
    }

    /* Dragover */
    .file-dropzone.dragover {
        background-color: #d1d5d9;
        border-color: #495057; /* cl-gris-700 */
    }

/* Icono grande gris */
.file-drop-icon {
    font-size: 1.9rem;
}

/* Texto pequeño */
.file-drop-text {
    font-size: 0.75rem;
}


/* Overlay de bloqueo mientras se procesa */
.overlay-procesando {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(233, 236, 239, 0.85); /* bg-gris-100 con transparencia */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5000;
    display: none;
}

.overlay-contenido {
    text-align: center;
}

.overlay-spinner {
    width: 64px;
    height: 64px;
    border: 6px solid #cccccc;
    border-top-color: #0d6efd;
    border-radius: 50%;
    animation: girar 1s linear infinite;
}

@keyframes girar {
    to {
        transform: rotate(360deg);
    }
}

.overlay-texto {
    font-size: 1.1rem;
    margin-top: 10px;
    color: #495057; /* cl-gris-700 */
}



/* Planes */

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1380px;
    }
}
.app-pricing {
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.has-solid-header .header {
    background-color: rgba(0, 0, 0, 0.9);
}
.has-solid-header .navmenu a {
    color: #ffffff;
}
.app-pricing .pricing-item {
    padding: 10px 30px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,.05);
    height: 100%;
}
.app-pricing h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}
.app-pricing h4 {
    font-size: 40px;
    margin-bottom: 10px;
    text-align: center;
}
.app-pricing h4 span {
    font-size: 16px;
    color: #6c757d;
}
.app-pricing ul {
    padding: 15px 0;
    list-style: none;
}
.app-pricing ul li {
    padding: 6px 0;
    font-size: 15px;
}
.app-pricing ul li i {
    color: #28a745;
    margin-right: 6px;
}
.app-pricing .icon {
    font-size: 32px;
    color: #0d6efd;
    text-align: center;
    margin-bottom: 10px;
}
.app-pricing .featured {
    border: 2px solid #18d26e;
}
@media (min-width: 992px) {
    .app-pricing .featured {
        transform: scale(1.03);
    }
}
.app-pricing .back-link {
    font-size: 14px;
    margin-bottom: 15px;
    display: inline-block;
}
.app-pricing .plan-price {
    text-align: center;
    margin-bottom: 10px;
}
.app-pricing .plan-price-value {
    font-size: 28px;
    font-weight: 900;
    color: #18d26e; /* verde principal */
    line-height: 1;
}
.app-pricing .plan-price-currency {
    font-size: 0.9em;
}
.app-pricing .plan-price-period {
    font-size: 16px;
    color: #9aa0a6;
    margin-left: 4px;
}

/* Workflow de registro */
.app-pricing .workflow-list {
    padding-left: 0.0rem;
    margin: 0;
    counter-reset: step;
}

.app-pricing .workflow-list li {
    list-style: none;
    margin-bottom: 12px;
    font-size: 12px;
    color: #495057;
    position: relative;
    padding-left: 28px;
}

.app-pricing .workflow-list li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 50%;
    background-color: #18d26e;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.app-pricing .workflow-list strong {
    color: #212529;
}

.app-pricing .server-plan {
    border: 2px solid #f57c00;
}

.aeat-cell {
    width: 42px;
    text-align: center;
    font-weight: 600;
    background-color: #e9ecef !important;  /* bg-gris-100 */
    color: #495057; /* cl-gris-700 */
    padding: 4px 0;
}




/* Fondos */
.bg-red-100 {
    background-color: #f8d7da
}
.bg-red-200 {
    background-color: #f1aeb5
}
.bg-green-100 {
    background-color: #d1e7dd
}
.bg-green-200 {
    background-color: #a3cfbb
}

.bg-gris-025 {
    background-color: #fafbfc;
}
.bg-gris-050 {
    background-color: #f4f6f7;
}
.bg-gris-075 {
    background-color: #eff1f3;
}
.bg-gris-100 {
    background-color: #e9ecef
}
.bg-gris-200 {
    background-color: #e9ecef
}
.bg-aeat-dark {
    background-color: #93b251;
}
.bg-aeat-light {
    background-color: #dfe8cc;
}
.bg-aeat-blue {
    background-color: #e6f1fa;
}
/* Colores */
.text-green-700 {
    color: #15803d;
}
.text-blue-700 {
    color: #1D4ED8;
}
.color-IT {
    color: #f57c00;
}
.color-green-main {
    color: #18d26e;
}
.color-blue-Factu {
    color: #0a83ff;
}


.cl-green-700 {
    color: #0f5132
}
.cl-green-600 {
    color: #146c43
}
.cl-green-500 {
    color: #198754
}

.cl-red-700 {
    color: #842029
}
.cl-red-600 {
    color: #b02a37
}
.cl-red-500 {
    color: #dc3545
}
.cl-red-400 {
    color: #e35d6a
}
.cl-red-300 {
    color: #ea868f
}

.cl-pink-700 {
    color: #801f4f
}
.cl-pink-600 {
    color: #ab296a
}
.cl-pink-500 {
    color: #d63384
}
.cl-pink-400 {
    color: #de5c9d
}
.cl-pink-300 {
    color: #e685b5
}

.cl-gris-300 {
    color: #dee2e6
}
.cl-gris-400 {
    color: #ced4da
}
.cl-gris-500 {
    color: #adb5bd
}
.cl-gris-600 {
    color: #6c757d
}
.cl-gris-700 {
    color: #495057
}
.cl-gris-800 {
    color: #343a40
}

.border-pink-700 {
    border-color: #801f4f
}
.border-pink-600 {
    border-color: #ab296a
}
.border-pink-500 {
    border-color: #d63384
}
.border-pink-400 {
    border-color: #de5c9d
}
.border-pink-300 {
    border-color: #e685b5
}