.search-container {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}

.body-menu {
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

    .body-menu:hover {
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        transform: translateY(-2px);
        border-color: #17a2b8;
    }

.body-icon {
    width: 50px;
    height: 50px;
    background-color: #17a2b8;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.body-content {
    flex: 1;
    min-width: 0; /* Para que el texto se trunce correctamente */
}

.badge-count {
    background-color: #6c757d;
    color: white;
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
    min-width: 24px;
    text-align: center;
}

.section-title {
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 5px;
    margin-bottom: 2px;
}

.menu-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.search-input-group {
    position: relative;
}

    .search-input-group input {
        padding-right: 45px;
    }

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
}

/* ================================================
   Estilo para documentos
   ================================================ */
.plantilla {
    background: #ffffff !important;
    width: 100%;
    min-height: 310mm;
    padding-top: 20mm;
    padding-bottom: 20mm;
    padding-left: 20mm;
    padding-right: 20mm;
    font-family: "Calibri", sans-serif;
    font-size: 14pt;
    color: #000;
    line-height: 1.4;
    box-sizing: border-box;
}

.header {
    margin-bottom: 15mm;
    padding-bottom: 5mm;
}

    .header img {
        max-height: 25mm;
        width: auto;
    }

.plantilla .body-content {
    min-height: 310mm;
    text-align: justify;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ccc;
    padding-top: 5mm;
    margin-top: 10mm;
    page-break-inside: avoid;
    break-inside: avoid;
    padding-bottom: 5mm;
    width: 100%;
}

.footer-info {
    float: left;
    font-size: 8pt;
    color: #555;
    font-family: monospace;
    width: 75%;
}

.footer-qr {
    float: right;
    width: 20%;
    text-align: right;
}

    .footer-qr img {
        width: 25mm;
        height: 25mm;
    }


.sidebar .menu {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.version-sidebar {
    margin-top: auto;
    padding: 15px 0;
    color: #6c757d;
    font-size: 11px;
}