/* ==========================================================
   Cliente Detalhes - Ajustes visuais específicos da página
   Caminho: wwwroot/css/pages/cliente-detalhes.css
   ========================================================== */

/* Área dos botões do cabeçalho */
.bidsmart-client-hero-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: nowrap;
}

.bidsmart-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 18px !important;
    border-radius: 12px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    margin: 0 !important;
    box-shadow: none !important;
    vertical-align: middle !important;
}

/* Base dos botões */
.bidsmart-client-hero-actions .bidsmart-btn,
.bidsmart-client-hero-actions .mud-button-root.client-operations-button {
    height: 48px !important;
    min-width: 142px !important;
    padding: 0 18px !important;
    border-radius: 12px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    text-transform: none !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    transition: all .18s ease !important;
}

/* Editar Cliente - ação principal */
.bidsmart-client-hero-actions .bidsmart-btn-primary {
    background: #174a8b !important;
    color: #ffffff !important;
    border: 1px solid #174a8b !important;
}

.bidsmart-client-hero-actions .bidsmart-btn-primary:hover {
    background: #123f78 !important;
    border-color: #123f78 !important;
    transform: translateY(-1px);
}

/* Operações - ação secundária */
.bidsmart-client-hero-actions .mud-menu .mud-button-root,
.bidsmart-client-hero-actions .mud-button-root.client-operations-button {
    width: auto !important;
    background: #ffffff !important;
    color: #174a8b !important;
    border: 1px solid rgba(23, 74, 139, .22) !important;
}

.bidsmart-client-hero-actions .mud-button-root.client-operations-button span,
.bidsmart-client-hero-actions .mud-button-root.client-operations-button svg {
    color: #174a8b !important;
    fill: #174a8b !important;
}

.bidsmart-client-hero-actions .mud-button-root.client-operations-button:hover {
    background: #f5f8fc !important;
    border-color: rgba(23, 74, 139, .38) !important;
    transform: translateY(-1px);
}

/* Voltar - ação neutra */
.bidsmart-client-hero-actions .bidsmart-btn-outline {
    background: #f8fafc !important;
    color: #334155 !important;
    border: 1px solid #d8dee8 !important;
}

.bidsmart-client-hero-actions .bidsmart-btn-outline:hover {
    background: #eef2f7 !important;
    color: #1f2937 !important;
    transform: translateY(-1px);
    border: 1px solid #506fa1 !important;

}

/* Menu dropdown */
.client-premium-menu .mud-popover-paper {
    min-width: 360px !important;
    padding: 8px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(15, 23, 42, .08) !important;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .16) !important;
}

/* Responsivo */
@media (max-width: 1100px) {
    .bidsmart-client-hero-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .bidsmart-client-hero-actions .bidsmart-btn,
    .bidsmart-client-hero-actions .mud-menu,
    .bidsmart-client-hero-actions .mud-button-root.client-operations-button {
        width: 100% !important;
        min-width: 100% !important;
    }
}