/* Adicionar variável RGB */
:root {
    --primary-color-rgb: 76, 132, 255;
}

.dark-theme {
    --primary-color-rgb: 92, 122, 234;
}

.atribuicoes-container {
    margin-top: 15px;
    margin-bottom: 15px;
}

.toggle-atribuicoes {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(var(--primary-color-rgb, 76, 132, 255), 0.1);
    color: var(--primary-color);
    border: none;
    border-radius: 4px;
    padding: 0.7rem 1rem;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.toggle-atribuicoes:hover {
    background-color: rgba(var(--primary-color-rgb, 76, 132, 255), 0.2);
}

.toggle-atribuicoes span {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.toggle-atribuicoes i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.toggle-atribuicoes[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.atribuicoes-content {
    padding-top: 0.8rem;
    animation: fadeIn 0.3s ease;
}

/* Estilização da lista de tecnologias dentro do toggle */
.atribuicoes-content .tech-list {
    margin-top: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(var(--primary-color-rgb, 76, 132, 255), 0.2);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Ajustes para a lista de atribuições */
.atribuicoes-content ul {
    margin-top: 0;
}

/* Versão mobile */
@media screen and (max-width: 768px) {
    .toggle-atribuicoes {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Para versão sem texto, somente ícone (opção alternativa) */
    .toggle-atribuicoes.icon-only span {
        display: none;
    }
    
    .toggle-atribuicoes.icon-only {
        justify-content: center;
        padding: 0.5rem;
    }
}