/* ==========================================================
   PAINEL DE ATRIBUTOS - PADRÃO MU DARK TREVOSO & SOCIAL
   ========================================================== */

.mu-attributes-window, #menu-modal-attributes {
    background: linear-gradient(135deg, #101516, #070a0a) !important;
    border: 1px solid #435157 !important;
    box-shadow: inset 0 0 22px #000, 0 16px 40px rgba(0, 0, 0, 0.9) !important;
    padding: 16px !important;
    color: #c9d3d5 !important;
    font-family: Georgia, serif !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
}

/* Cabeçalho perfeitamente alinhado na mesma linha com borda inferior clássica */
.mu-attributes-window .mu-classic-window-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 1px solid #39454a !important;
    padding-bottom: 12px !important;
    margin-bottom: 14px !important;
}

.mu-attributes-window .mu-classic-window-head h2 {
    margin: 0 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #dce9ed !important;
    text-shadow: 1px 1px 2px #000 !important;
    letter-spacing: 0.5px !important;
    text-transform: none !important;
}

.mu-attributes-window .mu-classic-window-head h2::first-letter {
    color: inherit !important;
}

/* Botão de Fechar "X" no mesmo padrão elegante dos painéis sociais */
.mu-attributes-window .mu-classic-close {
    background: linear-gradient(to bottom, #21262d, #12161f) !important;
    border: 1px solid #4b5b60 !important;
    color: #8b949e !important;
    font-weight: bold !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    border-radius: 3px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: all 0.15s ease !important;
}

.mu-attributes-window .mu-classic-close:hover {
    color: #fff !important;
    border-color: #54dd92 !important;
    background: linear-gradient(to bottom, #236846, #143d28) !important;
}

/* Caixa de Pontos Disponíveis */
.mu-attributes-window .attribute-allocation-header {
    background: linear-gradient(135deg, #101516, #070a0a) !important;
    border: 1px solid #39454a !important;
    padding: 10px !important;
    text-align: center !important;
    margin-bottom: 12px !important;
    border-radius: 3px !important;
    box-shadow: inset 0 0 10px #000 !important;
    box-sizing: border-box !important;
}

.mu-attributes-window .attribute-allocation-header h3 {
    margin: 0 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #dce9ed !important;
    text-shadow: 1px 1px 2px #000 !important;
    border: none !important;
    padding: 0 !important;
}

/* Grid e Linhas de Atributos (.attr-card) alinhadas e sem quebras */
.mu-attributes-window .attributes-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
}

.mu-attributes-window .attr-card {
    background: linear-gradient(90deg, #11191a, #0c1010) !important;
    border: 1px solid #364349 !important;
    border-radius: 3px !important;
    padding: 8px 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    box-sizing: border-box !important;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.5) !important;
}

.mu-attributes-window .attr-card:hover {
    border-color: #4b5b60 !important;
    background: linear-gradient(90deg, #162021, #101414) !important;
}

.mu-attributes-window .attr-card > div:first-child {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    overflow: hidden !important;
    gap: 2px !important;
}

.mu-attributes-window .attr-card strong {
    font-size: 11px !important;
    color: #dce9ed !important;
    text-shadow: 1px 1px 2px #000 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.mu-attributes-window .attr-card small {
    font-size: 11px !important;
    color: #7f9da6 !important;
    display: block !important;
}

/* ==========================================================
   BOTÕES DE DISTRIBUIR (+) - REFORMULADOS NO ESTILO TREVOSO
   ========================================================== */
.mu-attributes-window .attr-card button {
    background: linear-gradient(to bottom, #21262d, #12161f) !important;
    border: 1px solid #4b5b60 !important;
    color: #54dd92 !important;
    font-family: Georgia, serif !important;
    font-size: 14px !important;
    font-weight: bold !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    border-radius: 3px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    box-shadow: none !important;
    text-shadow: 0 0 4px rgba(84, 221, 146, 0.4) !important;
    transition: all 0.15s ease !important;
}

.mu-attributes-window .attr-card button:hover:not(:disabled) {
    background: linear-gradient(to bottom, #236846, #143d28) !important;
    border-color: #54dd92 !important;
    color: #fff !important;
    box-shadow: 0 0 8px rgba(84, 221, 146, 0.5) !important;
}

.mu-attributes-window .attr-card button:active:not(:disabled) {
    background: linear-gradient(to bottom, #0f2c1d, #091a11) !important;
    transform: translateY(1px) !important;
}

.mu-attributes-window .attr-card button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Seção de Status Avançados */
.mu-attributes-window h3 {
    color: #7f9da6 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    border-bottom: 1px solid #39454a !important;
    padding-bottom: 4px !important;
    margin: 14px 0 8px 0 !important;
    text-transform: uppercase !important;
    text-shadow: 1px 1px 2px #000 !important;
}

/* Grid de Status Avançados */
.mu-attributes-window .stats-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 7px !important;
    background: #070a0a !important;
    border: 1px solid #39454a !important;
    padding: 8px !important;
    border-radius: 3px !important;
    box-sizing: border-box !important;
    box-shadow: inset 0 0 15px #000 !important;
}

.mu-attributes-window .stat-box {
    background: linear-gradient(90deg, #11191a, #0c1010) !important;
    border: 1px solid #364349 !important;
    color: #99a8aa !important;
    border-radius: 3px !important;
    padding: 6px 8px !important;
    font-size: 11px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

.mu-attributes-window .stat-box span:last-child {
    color: #57d98a !important;
    font-weight: bold !important;
    text-shadow: 0 0 4px rgba(87, 217, 138, 0.3) !important;
}

/* Rodapé de Atalhos (Com todos os "C" garantidos em maiúscula e alinhados) */
.mu-attributes-window .attribute-shortcuts {
    background: #0a0e0f !important;
    border: 1px solid #4b5b60 !important;
    color: #aebbb8 !important;
    font-size: 11px !important;
    text-align: center !important;
    padding: 6px !important;
    margin-top: 10px !important;
    border-radius: 3px !important;
    box-sizing: border-box !important;
    text-transform: none !important;
}

.mu-attributes-window .attribute-shortcuts::first-letter {
    color: inherit !important;
}