/**
 * PageEmailPrintPdf - Estilos de la barra de herramientas
 */

.pepp-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.pepp-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.pepp-btn:hover {
    background-color: #f0f0f0;
    color: #333;
}

.pepp-btn:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

.pepp-btn svg {
    flex-shrink: 0;
}

/* Botón Print */
.pepp-btn-print {
    color: #444;
}

.pepp-btn-print:hover {
    color: #0073aa;
}

/* Botón PDF */
.pepp-btn-pdf {
    color: #c00;
}

.pepp-btn-pdf:hover {
    background-color: #fff0f0;
    color: #a00;
}

/* Botón Email */
.pepp-btn-email {
    color: #444;
}

.pepp-btn-email:hover {
    color: #0073aa;
}

/* Separador visual entre botones */
.pepp-btn:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 20px;
    background-color: #ddd;
    margin-left: 8px;
}

/* Estilos para impresión - ocultar toolbar */
@media print {
    .pepp-toolbar {
        display: none !important;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .pepp-toolbar {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 20px 0 !important;
        padding: 10px 0 !important;
        clear: both !important;
        float: none !important;
        position: relative !important;
    }
    
    .pepp-btn {
        display: inline-flex !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
    }
}

@media (max-width: 480px) {
    .pepp-toolbar {
        gap: 15px !important;
        border-bottom: none !important;
    }
    
    .pepp-btn span {
        display: none !important;
    }
    
    .pepp-btn:not(:last-child)::after {
        display: none !important;
    }
}
