/* Estilos complementarios a Bootstrap 5 */

body {
    background-color: #f5f6fa;
    font-size: 0.9rem;
}

/* Navbar */
.app-navbar {
    background-color: #fff;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.app-logo {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

.app-navbar-toggler {
    background: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-size: 1.4rem;
    color: #555;
    cursor: pointer;
    line-height: 1;
}

.app-navbar-toggler:hover {
    background-color: #f0f0f0;
}

/* Titulo de pagina */
.app-page-title {
    text-align: center;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

/* Formulario de busqueda */
.search-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
}

.search-card .card-header {
    background-color: #3d7a9f;
    color: #fff;
    font-weight: 600;
    border-radius: 8px 8px 0 0;
}

.table-resultados {
    font-size: 0.85rem;
}

.table-resultados th {
    background-color: #3d7a9f;
    color: #fff;
    font-weight: 500;
    white-space: nowrap;
    position: sticky;
    top: 0;
}

.table-resultados td {
    vertical-align: middle;
    background-color: #fff;
}

.badge-sunat-si {
    background-color: #27ae60;
}

.badge-sunat-no {
    background-color: #e74c3c;
}

.btn-pdf {
    color: #c0392b;
    font-size: 1.1rem;
}

.btn-pdf:hover {
    color: #e74c3c;
}

.btn-xml {
    color: #2980b9;
    font-size: 1.1rem;
}

.btn-xml:hover {
    color: #3498db;
}

.info-total {
    font-size: 0.85rem;
    color: #7f8c8d;
}

.no-resultados {
    text-align: center;
    padding: 3rem 1rem;
    color: #95a5a6;
}

.no-resultados i {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.pagination .page-link {
    color: #2c3e50;
}

.pagination .page-item.active .page-link {
    background-color: #2c3e50;
    border-color: #2c3e50;
    color: #fff;
}

.table-responsive {
    max-height: 70vh;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .search-card .card-body .row > div {
        margin-bottom: 0.5rem;
    }

    .app-logo {
        height: 32px;
        max-width: 100px;
    }

    .app-page-title {
        font-size: 1.15rem;
    }
}
